Function pathfinder_geometry::util::clamp

source ยท
pub fn clamp(x: f32, min_val: f32, max_val: f32) -> f32
Expand description

Clamping.