Calculates the angle of a vector.
The 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));
Calculates the angle of a vector.