dist
Distance from eye position to centre of rotation
Description
The routine gViewRotate() calculates a new eye position such that the line of sight is rotated about a point of distance dist along the view direction from the eye position. The line of sight is rotated by the specified angle in the specified plane. A positive rotation is anticlockwise when looking at the positive side of the plane.
Rotating the line of sight has the side-effect or modifying the view-up direction in most circumstances.
If plane is not in range or if the current view has no perspective defined, an error message is output and no further action is taken.