Clamps the value x so that it is not less than min and not greater than max
x
min
max
the value to clamp
the minimum value allowed
the maximum value allowed
x clamped to [min, max]
[min, max]
Generated using TypeDoc
Clamps the value
x
so that it is not less thanmin
and not greater thanmax