polarview(3G)polarview(3G)NAMEpolarview - defines the viewer's position in polar coordinates
C SPECIFICATION
void polarview(dist, azim, inc, twist)
Coord dist;
Angle 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.
DESCRIPTIONpolarview 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 polarview premultiplies the current matrix, as
specified by mmode. polarview is typically called only while mmode is
either MSINGLE or MVIEWING.
SEE ALSO
mmode, lookat
Page 1