reverseAngle(angleRad) → {number} Reverses an angle. Parameters
angleBetweenPoints(point1, point2) → {number} Find the angle of a segment from (point1.x, point1
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
difference(a, b) → {number} The absolute difference between two values. Parameters
distancePow(x1, y1, x2, y2, pow) → {number} Returns the distance between
linearInterpolation(v, k) → {number} A Linear Interpolation Method, mostly used by Phaser.Tween
radToDeg(radians) → {number} Convert radians to degrees. Parameters
Page 1 of 6