Vec3.+
static Vec3 +(Vec3 a, Vec3 b)
Adds matching components together. Commutative.
Vec3 a | Any vector. |
Vec3 b | Any vector. |
RETURNS: Vec3 | A new vector from the added components. |
static Vec3 +(Vec3 a, float b)
Adds the float to each component of the vector.
Vec3 a | Any vector. |
float b | Any scalar. |
RETURNS: Vec3 | A new vector from the added components. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!