Calculates the addition of two vectors.
// Returns (5, 7, 9)const sum = Chalkboard.vect.add(Chalkboard.vect.init(2, 3, 4), Chalkboard.vect.init(3, 4, 5)); Copy
// Returns (5, 7, 9)const sum = Chalkboard.vect.add(Chalkboard.vect.init(2, 3, 4), Chalkboard.vect.init(3, 4, 5));
The first vector
The second vector
Calculates the addition of two vectors.
Example