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