|
GINO Graphics Suite - GINO v9.0
|
|
 |
 |
gSetViewEyeDistance
Syntax
[C/C++:]
void gSetViewEyeDistance(float dist);
[F90:]
subroutine gSetViewEyeDistance(dist)
real, intent(in) :: dist
Arguments
dist
Perspective distance
|
= 0.0, |
Switch to parallel view |
Description
The routine gSetViewEyeDistance() calculates a new eye position, keeping the view plane fixed, so that the perspective distance is equal to
dist.
If
dist<0.0, the new eye position is on the opposite side of the view plane, i.e. the direction of viewing is reversed.
If
dist=0.0, the view is set to a parallel view, using the current view direction and view plane.
See Also
gSetViewEyeDistance Usage