Hi, just tried out the first example og lwjgl using the example script (example in the “how to intall in netbeans”, the one with the moving square)
http://www.lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_NetBeans
Anyhow, in this example I notice a delay of like 2 frames between moving the mouse, catching the mouseposition
and updating the square. (example is running on 60FPS)
Is there a faster or more direct method to catch the mouseposition?
Increasing the FPS does not seem to speed that up.
public void processMouse()
{
squareX = Mouse.getX();
squareY = Mouse.getY();
}