Skip to main content

clamp_visible_wavelength_nm

Function clamp_visible_wavelength_nm 

Source
pub fn clamp_visible_wavelength_nm(wavelength_nm: f64) -> Option<f64>
Expand description

Clamps a valid wavelength into the visible range.