COpenGL::DoRotate

void DoRotate( float* RotateVector );

void DoObjectRotate( float* RotateVector, SObjectInfo* Object );

Parameters

RotateVector Pointer to three float values which specifies X, Y, Z rotation values.
Object Object to rotate. If NULL then scene is rotated.

Remarks

The DoRotate method rotates the eye point around the reference point in eye point coordinate system using given RotateVector. If Object parameter is not NULL then the object is rotated instead. The method updates view projection if scene was rotated, and initiates view window repaint.

This method is available from ClassGL version 3.5

See Also

DoFreeLookRotate, DoFlyRotate