Mouse Y coordinate system is flipped

Started by fazekaim, August 14, 2009, 15:19:30

Previous topic - Next topic

fazekaim

Hello,


i'm developing a game, and i discovered that the mouse y coordinate is flipped. The 0 is the bottom of the screen and windowsize-1 is the top of the screen. This could cause the cursor problem. When i load a cursor image, i see it flipped by y angle.

Does anybody have an idea what to do?

Thanks in advance!

System: MacOs10.6, Java: 1.6.0_u15

fazekaim

I found this: http://lwjgl.org/forum/index.php/topic,468.0.html

And let me thank you guys for the fascinating and fabulous job with lwjgl.
I used jogl so far, and after having openal an opengl native window problem, i switched and works like a charm.
Thanks!!!