to Immutable
Returns this vector as an immutable Vec1.
If this vector is already a Vec1, it is returned directly without copying.
Return
An immutable Vec1 with the same component as this vector.
Returns this vector as an immutable Vec2.
If this vector is already a Vec2, it is returned directly without copying.
Return
An immutable Vec2 with the same components as this vector.
Returns this vector as an immutable Vec3.
If this vector is already a Vec3, it is returned directly without copying.
Return
An immutable Vec3 with the same components as this vector.