본문 바로가기

Programming/OpenGL

gluUnProject function

GLint gluUnProject(GLdouble     winX,
				   GLdouble     winY,
				   GLdouble     winZ,
				   const GLdouble * model,
				   const GLdouble * proj,
				   GLdouble *  objX,
				   GLdouble *  objY,
				   GLdouble *  objZ);
  • winX, winY, winZ
    Specify the window coordinates to be mapped

  • model
    Specify the modelview matrix(as from a glGetDoublev call)

  • proj
    Specify the projection matrix(as from a glGetDoublev call)

  • objX, objY, objZ
    Returns the computed object coordinates.


'Programming > OpenGL' 카테고리의 다른 글

OpenGL states  (0) 2011.12.22
Basic OpenGL programming Full-Screen  (0) 2011.12.12
Basic OpenGL programming in Windows_2  (0) 2011.12.01
Basic OpenGL programming in Windows_1  (0) 2011.11.30
OpenGL 설치하기(windows)  (2) 2011.11.29