Vec2.*
static Vec2 *(Vec2 a, Vec2 b)
A component-wise vector multiplication, same thing as a non-uniform scale. NOT a dot product! Commutative.
Vec2 a | Any vector. |
Vec2 b | Any vector. |
RETURNS: Vec2 | A new vector a scaled by b. |
static Vec2 *(Vec2 a, float b)
A scalar vector multiplication.
Vec2 a | Any vector. |
float b | Any scalar. |
RETURNS: Vec2 | A new vector a scaled by b. |
static Vec2 *(float a, Vec2 b)
A scalar vector multiplication.
float a | Any scalar. |
Vec2 b | Any vector. |
RETURNS: Vec2 | A new vector a scaled by b. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!