Function rin_math::lerp[][src]

pub fn lerp<U: RealField, T: Add<T, Output = T> + Mul<U, Output = T>>(
    p0: T,
    p1: T,
    pct: U
) -> T

Linear interpolation