Name
glu.Project -- map object coordinates to window coordinates
Synopsis
e,wx,wy,wz = glu.Project(objx, objy, objz, model, proj, view)
Function
glu.Project() transforms the specified object coordinates into window coordinates using model, proj, and view. The result is stored in wx, wy, and wz. A return value of #GL_TRUE indicates success, a return value of #GL_FALSE indicates failure.

Please consult an OpenGL reference manual for more information.

Inputs
objx
specify the object x coordinate
objy
specify the object y coordinate
objz
specify the object z coordinate
model
specifies the current modelview matrix as a table
proj
specifies the current projection matrix as a table
view
specifies the current viewport as a table
Results
e
error code
wx
computed window x coordinate
wy
computed window y coordinate
wz
computed window z coordinate

Show TOC