C++
virtual void pan( double x, double y ) = 0;
Description
This method pans the camera. During pan, the camera position and distance from position to target remain fixed; the camera target moves along the surface of a sphere described by these constraints. The X and Y parameters are in radians and correspond to angles traversed on this sphere along the cross product of the up vector and the eye vector (X) and along the up vector (Y). The X component of the pan is performed before the Y component.
Parameters
Parameters | Description |
---|---|
x | Input cross product of the up vector and the eye vector |
y | Input up vector |