Also that means you can use another ternary:

```js
min = clamp[i] ? Math.max(r0, Math.min(r1, point[i])) : point[i];
```