unit X
Returns a standard unit vector in the direction of X axis.
Since
v2.0.0
Returns a standard unit vector in the direction of X axis with coordinates of given type.
Since
v2.0.0
Deprecated
Use Vec2.unitX() instead.
Replace with
Vec2.unitX<Float>()Content copied to clipboard
A standard unit vector in the direction of X axis.
Since
v1.1.0