No ternary in math/clamp; makes it easier to read