[−][src]Function pbrt::core::spectrum::interpolate_spectrum_samples
pub fn interpolate_spectrum_samples(
lambda: &[Float],
vals: &[Float],
n: i32,
l: Float
) -> Float
Find responsible interval and linearly interpolate between the two sample values.