Apply rotation speed for mouse input
This commit is contained in:
parent
28fee1fe6c
commit
93724b523f
1 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue