indigo::math
pub fn clamp<T: Number>(value: T, min: T, max: T) -> T
Clamps a number so that it is between a minimum and maximum bound.