LWJGL
February 07, 2012, 22:42:48
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
LWJGL Documentation
>
mouse origin
Pages: [
1
]
« previous
next »
Print
Author
Topic: mouse origin (Read 1931 times)
theplayer
Newbie
Posts: 8
mouse origin
«
on:
July 14, 2009, 08: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
Logged
kappa
Administrator
Nerdus Imperius
Posts: 889
Re: mouse origin
«
Reply #1 on:
July 14, 2009, 08:29:34 »
inverse is on you own
there isn't a way to get lwjgl to do it.
Logged
theplayer
Newbie
Posts: 8
Re: mouse origin
«
Reply #2 on:
July 14, 2009, 08: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
Logged
kappa
Administrator
Nerdus Imperius
Posts: 889
Re: mouse origin
«
Reply #3 on:
July 14, 2009, 08: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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...