Initializes a new vector.
// Returns (2, 3, 4)const v = Chalkboard.vect.init(2, 3, 4); Copy
// Returns (2, 3, 4)const v = Chalkboard.vect.init(2, 3, 4);
The x-component (defined for 2D, 3D, and 4D vectors)
The y-component (defined for 2D, 3D, and 4D vectors)
Optional
The z-component (defined for 3D and 4D vectors)
The w-component (defined for 4D vectors)
Initializes a new vector.
Example