summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-20 21:43:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-20 21:43:28 +0200
commite4e66dd842e4a0ad38fbe1da7b651ab5c5d20f51 (patch)
treec2efe551d32abe32d8f95228b9aebbb52c70560b
parente81cf8b328c537bc74e57dc285371c266402087f (diff)
fix camera very small dt
-rw-r--r--main/draw.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}