20 Managing Quaternions

20 Q3Quaternion_SetRotateY

You can use the Q3Quaternion_SetRotateY function to configure a quaternion that rotates objects around the y axis.

TQ3Quaternion *Q3Quaternion_SetRotateY (
TQ3Quaternion *quaternion, 
float angle);
quaternion A quaternion.
angle The desired angle of rotation around the y coordinate axis, in radians.

DESCRIPTION


The Q3Quaternion_SetRotateY function returns, as its function result and in the quaternion parameter, a quaternion that rotates an object by the angle angle around the y axis.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker