View Full Version : MOUSE
12-02-2010, 07: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, 07: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 © 2016 vBulletin Solutions, Inc. All rights reserved.