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

pub fn xyz_to_rgb(xyz: [Float; 3]) -> [Float; 3]

Convert tristimulus values in the XYZ color space (as defined by CIE) matching the human eye's response to RGB values in the sRGB color space.