clamp(v, min, max) → {number} Force a value within the boundaries by clamping it to the range min
wrapAngle(angle, radians) → {number} Keeps an angle value between
snapTo(input, gap, start) → {number} Snap a value to nearest grid
normalizeAngle(angleRad) → {number} Normalizes an angle to the [0,2pi) range. Parameters
<static> PI2 Twice PI. Properties:
fuzzyGreaterThan(a, b, epsilon) → {boolean} a is fuzzyGreaterThan
minSub(value, amount, min) → {number} Subtracts the given amount from the value, but never lets
maxAdd(value, amount, max) → {number} Adds the given amount to the value, but never lets the value
distanceSq(x1, y1, x2, y2) → {number} Returns the euclidean distance squared between the two given
shear(n) → {number} Parameters Name Type
Page 5 of 6