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