Function clamp_to_range

Source
fn clamp_to_range(x: f32, range: Rangef) -> f32