From e95701dd84696b47db877f2324f110d85336c297 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sun, 19 Mar 2023 11:24:32 +0000 Subject: [PATCH] update limit to lerp --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render.rs b/src/render.rs index e1b8565..df622cb 100644 --- a/src/render.rs +++ b/src/render.rs @@ -391,7 +391,7 @@ impl Lerp for f64 { let lerped = self + change; - if (*other - self).abs() < 2.0 && diff != 0.0 { + if (*other - self).abs() < 0.49 && diff != 0.0 { *other } else { lerped