mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Update Point.js
This commit is contained in:
parent
c5629008e9
commit
14b16fb583
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue