From c3c1c8781ee866e63f7377c3c3fbc960afb88ea6 Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Thu, 1 Sep 2016 02:56:47 +0200 Subject: [PATCH] Adjust debug-camera speed --- rwgame/states/DebugState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rwgame/states/DebugState.cpp b/rwgame/states/DebugState.cpp index a0221e8d..edc891c9 100644 --- a/rwgame/states/DebugState.cpp +++ b/rwgame/states/DebugState.cpp @@ -356,7 +356,7 @@ void DebugState::tick(float dt) _debugCam.rotation = glm::angleAxis(_debugLook.x, glm::vec3(0.f, 0.f, 1.f)) * glm::angleAxis(_debugLook.y, glm::vec3(0.f, 1.f, 0.f)); - _debugCam.position += _debugCam.rotation * _movement * dt * (_sonicMode ? 1000.f : 100.f); + _debugCam.position += _debugCam.rotation * _movement * dt * (_sonicMode ? 500.f : 50.f); } }