- objX
- object coordinates X
- objY
- object coordinates Y
- objZ
- object coordinates Z
- model
- the current modelview matrix
- modelOffset
- the offset into the model array where the modelview maxtrix data starts.
- project
- the current projection matrix
- projectOffset
- the offset into the project array where the project matrix data starts.
- view
- the current view, {x, y, width, height}
- viewOffset
- the offset into the view array where the view vector data starts.
- win
- the output vector {winX, winY, winZ}, that returns the computed window coordinates.
- winOffset
- the offset into the win array where the win vector data starts.
Documentation for this section has not yet been entered.
Map object coordinates into window coordinates. gluProject transforms the specified object coordinates into window coordinates using model, proj, and view. The result is stored in win.
Note that you can use the OES_matrix_get extension, if present, to get the current modelView and projection matrices.