Math

Defined in: src/math/Math.js:6

Math utilities.

clamp( min, max, v ) static Float
src/math/Math.js:13

Clamp value to [min, max] range.

  • min Float
  • max Float
  • v Float

    Value to clamp

Returns: Float

Clamped value