Share

AcGsView::orbit

C++

virtual void orbit(
    double x, 
    double y
) = 0;

Description

This method orbits the camera. During orbit, the camera target and distance from position to target remain fixed; the camera position 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 orbit 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

Links

AcGsView Class

Was this information helpful?