mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
move mouse in right direction on y axis
This commit is contained in:
parent
0a322b4219
commit
51f053e664
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ public class MouseCreationTest {
|
|||
Mouse.poll();
|
||||
|
||||
position.x += Mouse.dx;
|
||||
position.y -= Mouse.dy;
|
||||
position.y += Mouse.dy;
|
||||
|
||||
if(position.x<0) {
|
||||
position.x = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue