[−][src]Function pbrt::core::pbrt::lerp
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>,
Interpolate linearly between two provided values.