View Full Version : How to mouse_click over 2d rects?
How to mouse_click over 2d rects?
12-06-2002, 10:09 PM
try to go to... http://www.opengl.org/developers/code/glut_examples/examples/examples.html
see the last sample...
12-06-2002, 10:11 PM
But my problem its very simple ...
I have a rect that is a button, it has a fixed position on ortho2d, on mouseClick event I want to know if I click on this button. The button its on ortho2d and it is stretched when window is resized (viewport(0,w,0,h))
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.