Incorrect javadoc in Mouse

Started by Rene, April 27, 2010, 19:51:46

Previous topic - Next topic

Rene

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
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

That's correct, we should change the javadoc.

Matzon

Quote from: spasi on April 29, 2010, 07:43:42
That's correct, we should change the javadoc.
yeas we should  ;)

Matzon