fix diff
This commit is contained in:
parent
f96fc9b48d
commit
5418a139f2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user