polarv(3G)polarv(3G)NAMEpolarv - defines the viewer's position in polar coordinates
FORTRAN 77 SPECIFICATION
subroutine polarv(dist, azim, inc, twist)
real dist
integer*4 azim, inc, twist
PARAMETERS
dist expects the distance from the viewpoint to the world space
origin.
azim expects the azimuthal angle in the x-y plane, measured from the y
axis. The azimuth angle is the viewing angle of the observer.
inc expects the angle of incidence in the y-z plane, measured from
the z axis. The incidence angle is the angle of the viewport
relative to the z axis.
twist expects the amount that the viewpoint is to be rotated around the
line of sight using the right-hand rule.
DESCRIPTIONpolarv defines the viewer's position in polar coordinates. It sets up a
right-hand world coordinate system with x to the right, y straight up,
and z towards the viewer. The line of sight extends from the viewpoint
through the world space origin. All angles are specified in tenths of
degrees and are integers.
The matrix computed by polarv premultiplies the current matrix, as
specified by mmode. polarv is typically called only while mmode is
either MSINGL or MVIEWI.
SEE ALSO
mmode, lookat
Page 1