Function egui::lerp

pub fn lerp<R, T>(range: RangeInclusive<R>, t: T) -> Rwhere
    T: Real<Output = R> + Mul<R>,
    R: Copy + Add<R, Output = R>,
Expand description

Linear interpolation.