diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-05-18 16:44:29 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-05-18 16:44:29 +1000 |
commit | 4838a92ef39c22533544ce8456b0b6bcec1f12c1 (patch) | |
tree | da752e99a51452c8c3cc14e16bd82469bfe65050 /source/client/StarClientApplication.hpp | |
parent | 8d1c30b3e38c2adfc66897e3e1476a37d4b496e9 (diff) |
make camera free-look framerate-independant
Diffstat (limited to 'source/client/StarClientApplication.hpp')
-rw-r--r-- | source/client/StarClientApplication.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/StarClientApplication.hpp b/source/client/StarClientApplication.hpp index 8824ea0..5f05657 100644 --- a/source/client/StarClientApplication.hpp +++ b/source/client/StarClientApplication.hpp @@ -126,7 +126,7 @@ private: float m_cameraXOffset = 0.0f; float m_cameraYOffset = 0.0f; bool m_snapBackCameraOffset = false; - int m_cameraOffsetDownTicks = 0; + float m_cameraOffsetDownTime = 0.f; Vec2F m_cameraPositionSmoother; Vec2F m_cameraSmoothDelta; int m_cameraZoomDirection = 0; |