From e4e66dd842e4a0ad38fbe1da7b651ab5c5d20f51 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 20 Oct 2022 21:43:28 +0200 Subject: fix camera very small dt --- main/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/draw.cpp b/main/draw.cpp index d633db73..439899b6 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -25,7 +25,7 @@ void app::drawEvent() } { - const float dt = std::clamp(timeline.previousFrameDuration(), 1e-3f, 1e-1f); + const float dt = std::clamp(timeline.previousFrameDuration(), 1e-6f, 1e-1f); update(dt); } -- cgit v1.2.3