C3DCamera::Rotate |
Top Previous Next |
Syntax:
Rotate(float yaw, float pitch, float roll)
Purpose: Rotate the camera about all three axis allowing for 6 degrees of freedom (6DOF)
Parameters:
Returned value(s):
Application: IF KeyDown(DIK_RIGHT) then cam1.Rotate(1*.01745 * fAdjust,0,0)
Additional Info: Angles are expressed in radians and are measured clockwise when looking along the rotation axis toward the origin. |