Vec3.*

static Vec3 *(Vec3 a, Vec3 b)

A component-wise vector multiplication, same thing as a non-uniform scale. NOT a dot or cross product! Commutative.

   
Vec3 a Any vector.
Vec3 b Any vector.
RETURNS: Vec3 A new vector a scaled by b.
static Vec3 *(Vec3 a, float b)

A scalar vector multiplication.

   
Vec3 a Any vector.
float b Any scalar.
RETURNS: Vec3 A new vector a scaled by b.
static Vec3 *(float a, Vec3 b)

A scalar vector multiplication.

   
float a Any scalar.
Vec3 b Any vector.
RETURNS: Vec3 A new vector a scaled by b.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!