Computes the lenght of the vector
Static
DOWNA default vec2 facing down
Static
LEFTA default vec2 facing left
Static
RIGHTA default vec2 facing right
Static
UPA 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
Static
from
Bidimentional Vector