Function rin::math::lerp [−][src]
pub fn lerp<U, T>(p0: T, p1: T, pct: U) -> T where
T: Add<T, Output = T> + Mul<U, Output = T>,
U: RealField,
Linear interpolation
pub fn lerp<U, T>(p0: T, p1: T, pct: U) -> T where
T: Add<T, Output = T> + Mul<U, Output = T>,
U: RealField,
Linear interpolation