Calculates the angle of a vector.
// Returns 0.7854 (approximately π/4 radians)const angle = Chalkboard.vect.ang(Chalkboard.vect.init(1, 1)); Copy
// Returns 0.7854 (approximately π/4 radians)const angle = Chalkboard.vect.ang(Chalkboard.vect.init(1, 1));
The vector
Calculates the angle of a vector.
Example