GINO Graphics Suite - GINO v9.0  

gSetViewPlaneDistance

Syntax

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

Arguments

dist
Perspective distance

Description

The routine gSetViewPlaneDistance() calculates a new position for the view plane, keeping the eye position fixed, so that the perspective distance is equal to dist.

If dist < 0, the position of the view plane is set so that the direction of viewing is reversed.

If dist = 0 or if the current view has no perspective defined, an error message is output and no further action is taken.

See Also

gSetViewPlaneDistance Usage
gDefineParallelView
gDefinePerspView