Function rs_pbrt::core::pbrt::lerp

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

Interpolate linearly between two provided values.