fix render

This commit is contained in:
Andre Henriques 2023-03-15 22:57:28 +00:00
parent 0a72146362
commit be35ecb310

View File

@ -297,7 +297,7 @@ impl Render {
}
let lerp_data: Vec<RGB<f64>> = data.iter().zip(&self.last).map(|(d, l)| d.lerp(l, delta as f64)).collect();
let lerp_data: Vec<RGB<f64>> = data.iter().zip(&self.last).map(|(d, l)| l.lerp(d, delta as f64)).collect();
//println!("d:{:?}\n l:{:?}", data, lerp_data);