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

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

Calculate RGB coefficients from a XYZ representation.