tray_rust::linalg
pub fn clamp<T: PartialOrd>(x: T, min: T, max: T) -> T
Clamp x to be between min and max
x
min
max