1 2 3 4 5 6 7 8 9
// use extend::ext; // this is done by bevy // #[ext] // pub impl f32 { // fn lerp(start: Self, end: Self, t: Self) -> Self { // start + (end - start) * t // } // }