getgpos(3G) getgpos(3G)
getgpos - gets the current graphics position
void getgpos(fx, fy, fz, fw)
Coord *fx, *fy, *fz, *fw;
fx expects a pointer to the location into which you want the system to
write the x coordinate of the current graphics position.
fy expects a pointer to the location into which you want the system to
write the y coordinate of the current graphics position.
fz expects a pointer to the location into which you want the system to
write the z coordinate of the current graphics position.
fw expects a pointer to the location into which you want the system to
write the w coordinate of the current graphics position. The w value
is used when defining a three dimensional point in homogeneous
coordinates.
getgpos returns the current graphics position after transformation by the
current matrix.
When the current graphics position is undefined, the action of this
routine is undefined.
getcpos
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|