Definition: |
include pGUI.e include opengl.e include glu.e gluUnProject(atom x, y, z, pModelMatrix, pProjMatrix, pViewport, pX, pY, pZ) |
Description: |
The gluUnProject function maps window coordinates to object coordinates.
x,y,z: The window coordinates to be mapped. pModelMatrix: The modelview matrix (as from a glGetDoublev call). pProjMatrix: The projection matrix (as from a glGetDoublev call). pViewport: The viewport (as from a glGetIntegerv call). pX, pY, pZ: The computed object coordinates. A fatal error occurs if the function fails. |
Remarks |
The gluUnProject function maps the specified window coordinates into object coordinates using pModelMatrix, pProjMatrix, and pViewport. The result is stored in pX, pY, and pZ. |
See Also: | glGet, gluProject |