update diff target

This commit is contained in:
Andre Henriques 2023-03-15 22:58:46 +00:00
parent be35ecb310
commit 0bce36f41d

View File

@ -331,7 +331,7 @@ pub trait Lerp {
impl Lerp for f64 {
fn lerp(self, other: &Self, diff: f64) -> Self {
let delta = diff / 1_000_000.0;
let delta = diff / 1_000.0;
let lerped = self + ((*other - self) * 0.5 * delta);
if *other != self {