Apply rotation speed for mouse input

This commit is contained in:
saschawillems 2016-07-03 21:06:17 +02:00
parent 28fee1fe6c
commit 93724b523f

View file

@ -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)
{