Update Point.js

This commit is contained in:
Lewis Lane 2014-03-31 16:01:35 +01:00
parent c5629008e9
commit 14b16fb583

View file

@ -455,13 +455,6 @@ Phaser.Point.rotate = function (a, x, y, angle, asDegrees, distance) {
};
/**
* Calculates centroid (or midpoint) from an array of points. If only one point is provided, that point is returned.
* @method Phaser.Point.centroid
* @param {Phaser.Point[]} points - The array of one or more points.
* @param {Phaser.Point} [out] - Optional Point to store the value in, if not supplied a new Point object will be created.
* @return {Phaser.Point} The new Point object.
*/
/**
* Calculates centroid (or midpoint) from an array of points. If only one point is provided, that point is returned.
* @method Phaser.Point.centroid