Function rs_pbrt::core::pbrt::lerp

source · []
pub fn lerp<S, T>(t: S, a: T, b: T) -> T where
    S: One,
    S: Sub<S, Output = S>,
    S: Copy,
    T: Add<T, Output = T>,
    T: Mul<S, Output = T>, 
Expand description

Interpolate linearly between two provided values.