Clamp a value into a range
Splits paths into folders.
clamp(x, e1, e2 = -e1)
x |
vector |
e1 |
the first edge |
e2 |
the other edge, defaults to the negation of e1. |
x, with values outside the boundaries replaced with the boundary points.
clamp(-10:10, 2, -2) clamp(-10:10, -2) clamp(-10:10, 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.