Chalkboard - v3.0.1
    Preparing search index...

    Function isOrthogonal

    • Checks if two vectors are orthogonal.

      Parameters

      Returns boolean

      // Returns true (the vectors are perpendicular)
      const orthogonal = Chalkboard.vect.isOrthogonal(Chalkboard.vect.init(1, 0), Chalkboard.vect.init(0, 1));