Checks if a vector is normalized (has a magnitude of one).
The vector
// Returns true (the vector has magnitude 1)const normalized = Chalkboard.vect.isNormalized(Chalkboard.vect.init(0.6, 0.8)); Copy
// Returns true (the vector has magnitude 1)const normalized = Chalkboard.vect.isNormalized(Chalkboard.vect.init(0.6, 0.8));
Checks if a vector is normalized (has a magnitude of one).