pub fn lerp<T>( a: T, b: T, t: f32 ) -> <<T as Sub<<f32 as Mul<T>>::Output>>::Output as Add<<f32 as Mul<T>>::Output>>::Outputwhere T: Copy + Mul<f32> + Sub<<f32 as Mul<T>>::Output>, f32: Mul<T>, <T as Sub<<f32 as Mul<T>>::Output>>::Output: Add<<f32 as Mul<T>>::Output>,
Linear interpolator.