[][src]Function pbrt::core::spectrum::rgb_to_xyz

pub fn rgb_to_xyz(rgb: &[Float; 3], xyz: &mut [Float; 3])

Calculate XYZ representation from RGB coefficients.