Chalkboard - v3.0.1
    Preparing search index...

    Function isParallel

    • Checks if two vectors are parallel.

      Parameters

      Returns boolean

      // Returns true (the vectors point in the same direction)
      const parallel = Chalkboard.vect.isParallel(Chalkboard.vect.init(2, 0), Chalkboard.vect.init(4, 0));