KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have this view set: glMatrixMode(GL_MODELVIEW); //Switch to the drawing perspective glLoadIdentity(); //Reset the drawing perspective and I get a screen position (sx, sy) from a mouse click. Given a value of z, how can I calculate x and y in 3d-space from sx and sy?
Tags (comma-separated)
Save Edits
Cancel