Checks if two vectors are orthogonal.
The first vector
The second vector
// Returns true (the vectors are perpendicular)const orthogonal = Chalkboard.vect.isOrthogonal(Chalkboard.vect.init(1, 0), Chalkboard.vect.init(0, 1)); Copy
// Returns true (the vectors are perpendicular)const orthogonal = Chalkboard.vect.isOrthogonal(Chalkboard.vect.init(1, 0), Chalkboard.vect.init(0, 1));
Checks if two vectors are orthogonal.