Vec2.-
static Vec2 -(Vec2 a, Vec2 b)
Subtracts matching components from eachother. Not commutative.
| Vec2 a | Any vector. |
| Vec2 b | Any vector. |
| RETURNS: Vec2 | A new vector from the subtracted components. |
static Vec2 -(Vec2 a, float b)
Subtracts the float to each component of the vector.
| Vec2 a | Any vector. |
| float b | Any scalar. |
| RETURNS: Vec2 | A new vector from the subtracted components. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!