lookat() — Silicon Graphics
NAME
lookat - defines a viewing transformation
SPECIFICATION
C
lookat(vx, vy, vz, px, py, pz, twist)
Coord vx, vy, vz, px, py, pz;
Angle twist;
FORTRAN
subroutine lookat(vx, vy, vz, px, py, pz, twist)
real vx, vy, vz, px, py, pz
integer*4 twist
Pascal
procedure lookat(vx, vy, vz, px, py, pz: Coord; twist: Angle);
DESCRIPTION
lookat defines the viewpoint and a reference point on the line of sight in world coordinates. The viewpoint is at (vx, vy, vz). The viewpoint and reference point (px, py, pz) define the line of sight. twist measures right-handed rotation about the z-axis in the eye coordinate system.
SEE ALSO
polarview
Version 2.4 — May 08, 1986