Quat.*

static Quat *(Quat a, Quat b)

This is the combination of rotations a and b. Note that order matters here.

   
Quat a First Quat.
Quat b Second Quat.
RETURNS: Quat A multiplication of the two Quats.
static Vec3 *(Quat a, Vec3 pt)

This rotates a point around the origin by the Quat.

   
Quat a The rotation Quat.
Vec3 pt The point that gets rotated around the origin.
RETURNS: Vec3 A rotated point.
static Vec3 *(Vec3 pt, Quat a)

This rotates a point around the origin by the Quat.

   
Quat a The rotation Quat.
Vec3 pt The point that gets rotated around the origin.
RETURNS: Vec3 A rotated point.




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