mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 21:21:41 +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);
|
MarbleGame.instance.world.marble.camera.orbit(applyNonlinearScale(inpX), applyNonlinearScale(inpY), true);
|
||||||
prevMouse.x = e.relX;
|
if (inpX != 0)
|
||||||
prevMouse.y = e.relY;
|
prevMouse.x = e.relX;
|
||||||
|
if (inpY != 0)
|
||||||
|
prevMouse.y = e.relY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue