gluProject
| Definition: |
include pGUI.e include opengl.e include glu.e gluProject(atom objx, objy, objz, pModelMatrix, pProjMatrix, pViewport, winx, winy, winz) |
| Description: |
The gluProject function maps object coordinates to window coordinates.
objx, objy, objz: The object coordinates. pModelMatrix: The current modelview matrix (as from a glGetDoublev() call). pProjMatrix: The current projection matrix (as from a glGetDoublev() call). pViewport: The current viewport (as from a glGetIntegerv() call). winx, winy, winz: The computed window coordinates. |
| pwa/p2js: | Not supported. |
| Remarks |
A fatal error occurs if the function fails.
The gluProject function transforms the specified object coordinates into window coordinates using pModelMatrix, pProjMatrix, and pViewport. The result is stored in winx, winy, and winz. |
| See Also: | glGet, gluUnProject |