LWJGL
May 22, 2012, 14:47:36 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Incorrect javadoc in Mouse  (Read 1480 times)
Rene
Regular nerd
**
Posts: 78


« on: April 27, 2010, 12:51:46 »

Quoting the org.lwjgl.input.Mouse.getDY() javadoc:

Quote
Movement on the y axis since last time getDY() was called. Only valid when the mouse is grabbed.

The method also reports the delta if the mouse isn't grabbed (and personally I prefer the this behaviour Wink), so the javadoc should be changed. The same with getDX() of course.


Rene
Logged

When I am king, they shall not have bread and shelter only, but also teachings out of books, for a full belly is little worth where the mind is starved - Mark Twain
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #1 on: April 29, 2010, 00:43:42 »

That's correct, we should change the javadoc.
Logged

Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #2 on: April 29, 2010, 02:16:15 »

That's correct, we should change the javadoc.
yeas we should  Wink
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #3 on: April 29, 2010, 10:38:04 »

 Kiss
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!