diff --git a/src/renderer/animation_utils.rs b/src/renderer/animation_utils.rs index 7d658c99e..ff4bff95e 100644 --- a/src/renderer/animation_utils.rs +++ b/src/renderer/animation_utils.rs @@ -154,6 +154,8 @@ impl CriticallyDampedSpringAnimation { mod test { use super::*; + use crate::units::PixelPos; + #[test] fn test_lerp() { assert_eq!(lerp(1.0, 0.0, 1.0), 0.0);