20 Managing Quaternions
Q3Quaternion_SetRotateAboutAxis
function to configure a rotate-about-axis quaternion.
TQ3Quaternion *Q3Quaternion_SetRotateAboutAxis ( TQ3Quaternion *quaternion, const TQ3Vector3D *axis, float angle);quaternion
A quaternion.axis
The desired axis of rotation.angle
The desired angle of rotation, in radians.
Q3Quaternion_SetRotateAboutAxis
function returns, as its function result and in the quaternion
parameter, a rotate-about-axis quaternion that rotates an object by the angle angle
around the axis specified by the axis
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker