diff options
Diffstat (limited to 'gfx/manualCameraController.cpp')
-rw-r--r-- | gfx/manualCameraController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/manualCameraController.cpp b/gfx/manualCameraController.cpp index 268920a..022fb72 100644 --- a/gfx/manualCameraController.cpp +++ b/gfx/manualCameraController.cpp @@ -47,7 +47,7 @@ ManualCameraController::handleInput(SDL_Event & e) pitch = std::clamp(pitch - 0.01F * (float)e.motion.yrel, 0.1F, half_pi); } else { - focus += rotate_flat(-direction) * glm::vec2 {e.motion.xrel, e.motion.yrel}; + focus += rotate_flat(-direction) * glm::vec2 {-e.motion.xrel, e.motion.yrel}; } } return true; |