View Full Version : MOUSE
12-02-2010, 08:00 PM
good gentlemen need your help, I am studying the opengl but I ran with the uncertainty of the function of the mouse to click on the screen but I coordinate these coordinates are giving me the window is not my coordenada.como could trannsformar coordinates of my mouse to the coordinate axis
12-03-2010, 08:13 AM
when you running your program, it is in windows coordinate, for transforming to object coordinate you can use gluUnProject function with respective parameters.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.