![[Next]](buttons/ArrowRightOff.gif)
C Specification
GLint gluUnProject(
GLdouble winX,
GLdouble winY,
GLdouble winZ,
const GLdouble *model,
const GLdouble *proj,
const GLint *view,
GLdouble* objX,
GLdouble* objY,
GLdouble* objZ)
Parameters
Description
To compute the coordinates
proj as follows:
"INV( )" denotes matrix inversion. W is an unused variable, included
for consistent matrix notation.
objX objY objZ W = INV(PM )

2 (winX
view[0] ) /
view[2]
12 (winY
view[1] ) /
view[3]
12 winZ
11
glGet,
See Also
gluProject