calling LWJGL methods directly

Started by raft, March 30, 2009, 08:29:40 AM

Previous topic - Next topic

EgonOlsen

Quote from: raft on March 30, 2009, 02:11:51 PM
that code makes y axis increase downwards. is it also possible to convert mouse coordinate system ?
Which is natural IMHO. If you want it reversed, just do something like this:


GL11.glOrtho(0, 800, 0, 600, 0.0f, 0.1f);

raft

QuoteWhich is natural IMHO. If you want it reversed, just do something like this:

GL11.glOrtho(0, 800, 0, 600, 0.0f, 0.1f);

no, i'm happy it reverses Y coordinate. i just wonder if same can be done for lwjgl Mouse class ?

EgonOlsen

Quote from: raft on March 30, 2009, 07:56:50 PM
no, i'm happy it reverses Y coordinate. i just wonder if same can be done for lwjgl Mouse class ?
I don't really know, but i don't think so.