mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-01 12:52:29 +00:00
this thing
This commit is contained in:
parent
4b56bc2312
commit
7d912c88a7
1 changed files with 4 additions and 2 deletions
|
|
@ -91,8 +91,10 @@ class CameraInput {
|
|||
}
|
||||
|
||||
MarbleGame.instance.world.marble.camera.orbit(applyNonlinearScale(inpX), applyNonlinearScale(inpY), true);
|
||||
prevMouse.x = e.relX;
|
||||
prevMouse.y = e.relY;
|
||||
if (inpX != 0)
|
||||
prevMouse.x = e.relX;
|
||||
if (inpY != 0)
|
||||
prevMouse.y = e.relY;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue