get_rotation_quat

Constructs a quaternion to rotate points around all three axes.

Description

void get_rotation_quat(QUAT *q, float x, float y, float z);
Constructs a quaternion that will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to a circle format).
Examples using this:

Related Projects

The following projects include source code containing this keyword: