LWJGL Forum

Programming => LWJGL Documentation => Topic started by: Rene on April 27, 2010, 19:51:46

Title: Incorrect javadoc in Mouse
Post by: Rene on April 27, 2010, 19: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 ;)), so the javadoc should be changed. The same with getDX() of course.


Rene
Title: Re: Incorrect javadoc in Mouse
Post by: spasi on April 29, 2010, 07:43:42
That's correct, we should change the javadoc.
Title: Re: Incorrect javadoc in Mouse
Post by: Matzon on April 29, 2010, 09:16:15
That's correct, we should change the javadoc.
yeas we should  ;)
Title: Re: Incorrect javadoc in Mouse
Post by: Matzon on April 29, 2010, 17:38:04
 :-*