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