Function emath::lerp

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

Linear interpolation.