Function clamp

Source
pub fn clamp(input: f32) -> f32
Expand description

Clamp the input between 0.0 and 1.0.