clamp(v, min, max) → {number} Force a value within the boundaries by clamping it to the range min
frac() → {number} Returns a random real number between 0 and 1. Returns
max() → {number} Variation of Math.max that can be passed either an array of numbers or the numbers
maxObjects : number The maximum number of objects per node. Default Value
snapToCeil(input, gap, start) → {number} Snap a value to nearest grid
populate(group) Populates this quadtree with the children of the given Group. In order to be added the child must exist and have a body
fuzzyLessThan(a, b, epsilon) → {boolean} a is fuzzyLessThan
fuzzyCeil(val, epsilon) → {number} Applies a fuzzy ceil to the given
distanceSq(x1, y1, x2, y2) → {number} Returns the euclidean distance squared between the two given
wrapValue(value, amount, max) → {number} Adds value to amount and ensures that the result always
Page 7 of 9