Is there an easy way to get the current mouse position in OpenGL coordinates without using GLUT?
I’m using an ortho projection and everyting is drawn at -1 so the Z coordinate doesn’t really matter to me, but if I could somehow read the mouse position in opengl coordinates that would be super helpful in moving forward.
hmmm…I for some reason thought gluUnProject was GLUT…apparently its not…I seem to have gluUnProject. I’ve found plenty of examples of gluUnproject…I guess I just need to know now how to get my mouse cursor position in screen coordinates.