Function rerun::demo_util::lerp

source ·
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>>::Output
where 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>,
Expand description

Linear interpolator.