makepad_math::shader

Function clamp

Source
pub fn clamp<T: ShaderMath>(v: T, l: T, h: T) -> T