Clamp the value between two points
clamp(1.5, [0.1, 0.9]); // => 0.9clamp(0.001, [0.1, 0.9]); // => 0.1 Copy
clamp(1.5, [0.1, 0.9]); // => 0.9clamp(0.001, [0.1, 0.9]); // => 0.1
Clamp the value between two points