GINO Graphics Suite - GINO v9.0  

gMoveViewCentre

Syntax

[C/C++:]
void gMoveViewCentre(float dist);
[F90:]
subroutine gMoveViewCentre(dist)
real, intent(in) :: dist

Arguments

dist
Distance to be moved along line of sight

Description

The routine gMoveViewCentre() calculates a new position for the view plane by displacing the view centre a distance dist in the direction of viewing. If a perspective view is being modified, the eye position is displaced by the same amount, leaving the perspective distance unchanged.

If dist is less than zero, the displacement is in the opposite direction to the direction of viewing.

See Also

gMoveViewCentre Usage