Defined in File utils.hpp
Clamp a value to the range [min, max].
x – Value
min – Min value of the range [min, max]
max – Max value of the range [min, max]
Value clamped to the range [min, max]