(a, b, t)
| 69463 | return map(value1, (value)=>Math.max(min, Math.min(max, value))); |
| 69464 | } |
| 69465 | function lerp(a, b, t) { |
| 69466 | if (isArray(a)) return a.map((ai, i)=>lerp(ai, b[i], t)); |
| 69467 | return t * b + (1 - t) * a; |
| 69468 | } |
| 69469 | function equals(a, b, epsilon) { |
| 69470 | const oldEpsilon = config.EPSILON; |
| 69471 | if (epsilon) config.EPSILON = epsilon; |