Hello Guest

Incorrect javadoc in Mouse

  • 3 Replies
  • 5198 Views
*

Offline Rene

  • **
  • 78
Incorrect javadoc in Mouse
« 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
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

*

Offline spasi

  • *****
  • 2206
    • WebHotelier
Re: Incorrect javadoc in Mouse
« Reply #1 on: April 29, 2010, 07:43:42 »
That's correct, we should change the javadoc.

*

Offline Matzon

  • *****
  • 2242
Re: Incorrect javadoc in Mouse
« Reply #2 on: April 29, 2010, 09:16:15 »
That's correct, we should change the javadoc.
yeas we should  ;)

*

Offline Matzon

  • *****
  • 2242
Re: Incorrect javadoc in Mouse
« Reply #3 on: April 29, 2010, 17:38:04 »
 :-*