Calculates the absolute value of a vector.
// Returns (1, 2, 3)const v = Chalkboard.vect.absolute(Chalkboard.vect.init(-1, -2, 3)); Copy
// Returns (1, 2, 3)const v = Chalkboard.vect.absolute(Chalkboard.vect.init(-1, -2, 3));
The vector
Calculates the absolute value of a vector.
Example