distanceSq(x1, y1, x2, y2) → {number} Returns the euclidean distance squared between the two given
snapToFloor(input, gap, start) → {number} Snap a value to nearest
roundAwayFromZero(value) → {integer} Round to the next whole number away from zero.
wrapValue(value, amount, max) → {number} Adds value to amount and ensures that the result always
factorial(value) → {number} Parameters Name Type
maxAdd(value, amount, max) → {number} Adds the given amount to the value, but never lets the value
Page 6 of 6