Computes the lenght of the vector
StaticDOWNA default vec2 facing down
StaticLEFTA default vec2 facing left
StaticRIGHTA default vec2 facing right
StaticUPA default vec2 facing up
Computes the dot product between this vector and another one
the other vector to use for the computation
the dot product between the vectors
Returns a new vec2 negated from this one.
Returns a new vec2 from this one normalized
Multiplies this vector in place by a scalar value.
Chainable this
Converts this vector to screen space coordinates.
a new vec2 in screen space coordinates
Converts this vector to world space coordinates.
a new vec2 in world space coordinates
Staticfrom
Bidimentional Vector