mouse origin

Started by theplayer, July 14, 2009, 15:26:36

Previous topic - Next topic

theplayer

hi@ all,

is there a way to move the mouse origin (point 0,0) to upper left? or should i always inverse it on my own?

greetz theplayer

kappa

inverse is on you own  :)

there isn't a way to get lwjgl to do it.

theplayer

thx

whats better:

rotate orthogonal projection to origin lower left or inverse mouse???

i know its a silly question but i want to know some other opinions

theplayer

kappa

by default opengl uses lower left as origin(hence the reason lwjgl mouse reports it like that), while other libraries like java2d use top left for the origin.

If your working with opengl best to leave the origin at the lower left, however doesn't really matter though, use whatever works for you.