Syntax
[C/C++:]
void gDefinePerspView(float xe, float ye, float ze, float dx, float dy, float dz, float dist);
[F90:]
subroutine gDefinePerspView(xe, ye, ze, dx, dy, dz, dist)
real, intent(in) :: xe,ye,ze,dx,dy,dz,dist
Arguments
xe,ye,ze
Eye position in space coordinates
dx,dy,dz
Direction of viewing
dist
Perspective distance
Description
The routine gDefinePerspView() defines a perspective view from the eye position (
xe,ye,ze) along the line specified by the direction vector (
dx,dy,dz). The view plane (defined to be normal to this line) and the view centre are at a distance
dist from the eye position. If the perspective distance
dist or all of
dx,
dy and
dz are zero, an error message is output and no further action is taken.
See Also
gDefinePerspView Usage