LWJGL Forum

Programming => LWJGL Documentation => Topic started by: theplayer on July 14, 2009, 15:26:36

Title: mouse origin
Post by: theplayer on July 14, 2009, 15:26:36
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
Title: Re: mouse origin
Post by: kappa on July 14, 2009, 15:29:34
inverse is on you own  :)

there isn't a way to get lwjgl to do it.
Title: Re: mouse origin
Post by: theplayer on July 14, 2009, 15:33:57
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
Title: Re: mouse origin
Post by: kappa on July 14, 2009, 15:43:07
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.