Converts a vector from one dimension to another dimension.
// Returns (2, 3, 0) (converts a 2D vector to a 3D vector)const v3d = Chalkboard.vect.fromVector(Chalkboard.vect.init(2, 3)); Copy
// Returns (2, 3, 0) (converts a 2D vector to a 3D vector)const v3d = Chalkboard.vect.fromVector(Chalkboard.vect.init(2, 3));
The vector
Converts a vector from one dimension to another dimension.
Example