int tvMoveViewpoint ( tvBase *threeD, double forward, double right, double up, int anim )
Moves the current viewpoint in a viewer-based direction
Documentation
Moves the current viewpoint in a viewer-based direction. This
means moving forward/backward along the path that the viewer is
facing, sliding left/right/up/down in a direction perpendicular
to the forward direction.
If the widget's view was moved, then the updated value is passed back to
the widget via tvSetView().
- Returns:
- True if actually moved.
- Parameters:
- threeD - handle to rendering state
forward - forward delta
right - right delta
up - upwards delta
anim - boolean value indicating whether animation is in progress
at the point this function is called. 1 = animation in
progress, 0 = static.
- Author:
- Martin Reddy
- Version:
- 20 January 1999
TerraVision API Home Page