C3DObject::Rotate |
Top Previous Next |
Syntax:
Rotate(float x, float y, float z)
Purpose: Rotates an object about all three axes.
Parameters: x - Rotation, in radians, for the x axis. y - Rotation, in radians, for the y axis. z - Rotation, in radians, for the z axis.
Returned value(s): None.
Application: mesh1.Rotate(1*.01745 * fAdjust,0,0)
Class Hierarchy
Additional Info: Rotations are performed relative to the parent object, if any. Quaternions are used internally to eliminate gimbal lock.
See Also: |