From 93724b523fb168cff95130e77329a77d70a7047f Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 3 Jul 2016 21:06:17 +0200 Subject: [PATCH] Apply rotation speed for mouse input --- base/camera.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/camera.hpp b/base/camera.hpp index fb457ea2..bac67c6b 100644 --- a/base/camera.hpp +++ b/base/camera.hpp @@ -153,8 +153,8 @@ public: camFront = glm::normalize(camFront); float moveSpeed = deltaTime * movementSpeed * 2.0f; - float rotSpeed = deltaTime * 50.0f; - + float rotSpeed = deltaTime * rotationSpeed * 50.0f; + // Move if (fabsf(axisLeft.y) > deadZone) {