![]() -> Click here to learn how to get live help <- |
GLUUNPROJECTIndexNAMEgluUnProject - map window coordinates to object coordinatesC SPECIFICATIONGLint f3gluUnProjectfP( GLdouble fIwinXfP,f2winXfP, f2winYfP, f2winZfP Specify the window coordinates to be mapped.
DESCRIPTION%f3gluUnProjectfP maps the specified window coordinates into object coordinates using f2modelfP, f2projfP, and f2viewfP. The result is stored in f2objXfP, f2objYfP, and f2objZfP. A return value of %f3GL_TRUEfP indicates success; a return value of %f3GL_FALSEfP indicates failure. To compute the coordinates (f2objXfP, f2objYfP, and f2objZfP), %f3gluUnProjectfP multiplies the normalized device coordinates by the inverse of f2modelfP*f2projfP as follows:
SEE ALSOf3glGet(3G)fP, %f3gluProject(3G)fP
Index |