reverseAngle(angleRad) → {number} Reverses an angle. Parameters
angleBetweenPoints(point1, point2) → {number} Find the angle of a segment from (point1.x, point1
isEven(n) → {boolean} Returns true if the number given is even. Parameters
difference(a, b) → {number} The absolute difference between two values. Parameters
sinCosGenerator(length, sinAmplitude, cosAmplitude, frequency) → {Object} Generate a sine and cosine
catmullRomInterpolation(v, k) → {number} A Catmull Rom Interpolation Method, mostly used by Phaser
new Math() A collection of useful mathematical functions. These are normally accessed through game.math.
isOdd(n) → {boolean} Returns true if the number given is odd. Parameters
fuzzyFloor(val, epsilon) → {number} Applies a fuzzy floor to the given
getShortestAngle(angle1, angle2) → {number} Gets the shortest angle between angle1
Page 1 of 6