This commit is contained in:
Andre Henriques 2023-03-15 23:20:09 +00:00
parent f96fc9b48d
commit 5418a139f2

View File

@ -341,7 +341,7 @@ impl Lerp for f64 {
println!("c: {} target:{} lerp: {} move: {}", self, other, lerped, change);
}
if change < 1.0 && diff != 0.0 {
if (*other - self) < 2.0 && diff != 0.0 {
return *other;
}