Q3Quaternion_SetRotateXYZ
You can use theQ3Quaternion_SetRotateXYZfunction to configure a quaternion having a specified rotation around the x, y, and z axes.
TQ3Quaternion *Q3Quaternion_SetRotateXYZ ( TQ3Quaternion *quaternion, float xAngle, float yAngle, float zAngle);
quaternion- A quaternion.
xAngle- The desired angle of rotation around the x axis, in radians.
yAngle- The desired angle of rotation around the y axis, in radians.
zAngle- The desired angle of rotation around the z axis, in radians.
DESCRIPTION
TheQ3Quaternion_SetRotateXYZfunction returns, as its function result and in thequaternionparameter, a quaternion that rotates an object by the specified angles around the x, y, and z axes.