From 92fb1478b73f0b226798b54fc0d4a58095cd6bf5 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Wed, 15 Mar 2023 23:21:40 +0000 Subject: [PATCH] speed up --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render.rs b/src/render.rs index 060b884..1528f9c 100644 --- a/src/render.rs +++ b/src/render.rs @@ -333,7 +333,7 @@ impl Lerp for f64 { fn lerp(self, other: &Self, diff: f64) -> Self { let delta = diff / 1000.0; - let change = (*other - self) * 0.4 * delta; + let change = (*other - self) * 0.8 * delta; let lerped = self + change;