mapw2() — Silicon Graphics
NAME
mapw2 − maps a point on the screen into two-dimensional world coordinates
SPECIFICATION
C
mapw2(vobj, sx, sy, wx, wy)
Object vobj;
Screencord sx, sy;
Coord *wx, *wy;
FORTRAN
subroutine mapw2(vobj, sx, sy, wx, wy)
integer*4 vobj, sx, sy
real wx, wy
Pascal
procedure mapw2(vobj: Object; sx, sy: longint;
var wx, wy: Coord);
DESCRIPTION
mapw2 is the two-dimensional version of mapw. vobj is a viewing object containing the viewport, projection, viewing, and modeling transformations that define world space. sx and sy define a screen space point. wx and wy return the corresponding world space coordinates. If the transformation is not two-dimensional, the result is undefined.
SEE ALSO
mapw
NOTE
This routine is available only in immediate mode.
Version 2.5 — April 22, 1987