COpenGL::DoFreeLookRotate

void DoFreeLookRotate( float* RotateVector );

Parameters

RotateVecto Pointer to three float values which specifies X, Y, Z rotation values

Remarks

The COpenGL object must be in IM_FREE_LOOK interaction mode in order to call the DoFreeLookRotate method. The DoFreeLookRotate method rotates reference point around current eye point in eye point coordinate system using given RotateVector, updates current projection matrix and initiates window repaint. The same rules apply for the rotation as when the rotation is made by mouse movement. See Free Look interaction mode for more details.

This method is available from ClassGL version 3.6

See Also

DoRotate, DoFlyRotate