pub fn limit(x: f64, y: f64, z: f64) -> f64
Clamps x to the range spanned by y and z (whichever of y/z is smaller is the floor) — the “intermediate value of x, y, and z.”
x
y
z