1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00

Adjust debug-camera speed

This commit is contained in:
Jannik Vogel 2016-09-01 02:56:47 +02:00
parent 4ac3bc185f
commit c3c1c8781e

View File

@ -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);
}
}