clamp

Function clamp 

Source
pub fn clamp(value: f32, min: f32, max: f32) -> f32
Expand description

Clamps value between min and max.