The x-component (defined for 2D, 3D, and 4D vectors)
The y-component (defined for 2D, 3D, and 4D vectors)
Optional
z: numberThe z-component (defined for 3D and 4D vectors)
Optional
w: numberThe w-component (defined for 4D vectors)
Generated using TypeDoc
Initializes a new vector.