update limit to lerp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-03-19 11:24:32 +00:00
parent 9f21d08b33
commit e95701dd84

View File

@ -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