COpenGL::DoPan

void DoPan( float* PanVector );

void DoObjectPan( float* PanVector, SObjectInfo* Object );

Parameters

PanVector Pointer to three float values which specifies X, Y, Z values of the pan direction.
Object Object to pan. If NULL then scene is panned instead.

Remarks

The DoPan method pans reference point and the eye point in eye point coordinate system using given PanVector. If Object parameter is not NULL then the object is panned instead of scene. The method updates the view projection matrix if scene was panned, and initiates the view window repaint.

This method is available from ClassGL version 3.5

See Also

DoRotate