20 Managing Quaternions
Q3Quaternion_SetRotateXYZ
function 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.
Q3Quaternion_SetRotateXYZ
function returns, as its function result and in the quaternion
parameter, a quaternion that rotates an object by the specified angles around the x, y, and z axes.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker