Contents:
wavelength2Rgb(→ photonmap.Vec3)
wavelength2Rgb
Convert a wavelength between 400 - 800 nm to RGB color
flatten(→ list)
flatten
Flattens a list
The wavelength to convert
A Vec3 structure representing an RGB color.
a list
the flattened list