20 Setting Up Transformation Matrices

20 Q3Matrix4x4_SetRotate_Y

You can use the Q3Matrix4x4_SetRotate_Y function to configure a 4-by-4 transformation matrix that rotates objects around the y axis.

TQ3Matrix4x4 *Q3Matrix4x4_SetRotate_Y (
TQ3Matrix4x4 *matrix4x4, 
float angle);
matrix4x4 A 4-by-4 matrix.
angle The desired angle of rotation around the y coordinate axis, in radians.

DESCRIPTION


The Q3Matrix4x4_SetRotate_Y function returns, as its function result and in the matrix4x4 parameter, a rotational matrix 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