OpenGL man pages
gluUnProject.3glNamegluUnProject - map window coordinates to object coordinates C Specificationint gluUnProject( GLdouble winx, GLdouble winy, GLdouble winz, const GLdouble modelMatrix[16], const GLdouble projMatrix[16], const GLint viewport[4], GLdouble *objx, GLdouble *objy, GLdouble *objz ) Parameterswinx, winy, winz Specify the window coordinates to be mapped. modelMatrix Specifies the modelview matrix (as from a glGetDoublev call). projMatrix Specifies the projection matrix (as from a glGetDoublev call). viewport Specifies the viewport (as from a glGetIntegerv call). objx, objy, objz Returns the computed object coordinates. DescriptiongluUnProject maps the specified window coordinates into object coordinates using modelMatrix, projMatrix, and viewport. The result is stored in objx, objy, and objz. A return value of GL_TRUE indicates success, and GL_FALSE indicates failure. See AlsoglGet, gluProject Introduction | Alphabetic | Specification Last Edited:
Fri Dec 6 11:18:03 EST 1996
by
AFV |