GLint gluProject( GLdoubleobjX, GLdoubleobjY, GLdoubleobjZ, const GLdouble*model, const GLdouble*proj, const GLint*view, GLdouble*winX, GLdouble*winY, GLdouble*winZ)

,*objX*,*objY**objZ*- Specify the object coordinates.
*model*- Specifies the current modelview matrix (as from a
`glGetDoublev`call). *proj*- Specifies the current projection matrix (as from a
`glGetDoublev`call). *view*- Specifies the current viewport (as from a
`glGetIntegerv`call). ,*winX*,*winY**winZ*- Return the computed window coordinates.

To compute the coordinates, let *v* = (` objX`,

*v* = *P* *M* *v*

where *P* is the current projection matrix ` proj`,

The window coordinates are then computed as follows:

` winX` =