PDA

View Full Version : Logical coordinates in OnLButtonDown



link19
09-19-2001, 04:05 AM
Hello,
The CPoint object that gets passed to this handler gives me the coordinates. However, id like to change these to the coordinates i set up in my OnSize() with glFrustum(). After all, these are my actual drawing extents.
Is there an OpenGL way to receive these, or to transform them?
Thanx

link19
09-19-2001, 04:26 AM
Forget it http://www.opengl.org/discussion_boards/ubb/smile.gif
Just realized gluUnProject does that nicely for me.