You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/geom/rectangle/GetPoints.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ var Perimeter = require('./Perimeter');
19
19
* @generic {Phaser.Geom.Point[]} O - [out,$return]
20
20
*
21
21
* @param {Phaser.Geom.Rectangle} rectangle - The Rectangle object to get the points from.
22
-
* @param {number} step - Step between points. Used to calculate the number of points to return when quantity is falsy. Ignored if quantity is positive.
23
-
* @param {integer} quantity - The number of evenly spaced points from the rectangles perimeter to return. If falsy, step param will be used to calculate the number of points.
22
+
* @param {number} step - Step between points. Used to calculate the number of points to return when quantity is falsey. Ignored if quantity is positive.
23
+
* @param {integer} quantity - The number of evenly spaced points from the rectangles perimeter to return. If falsey, step param will be used to calculate the number of points.
24
24
* @param {(array|Phaser.Geom.Point[])} [out] - An optional array to store the points in.
25
25
*
26
26
* @return {(array|Phaser.Geom.Point[])} An array of Points from the perimeter of the rectangle.
0 commit comments