Skip to content

Commit d9acb43

Browse files
committed
spelling: falsey
1 parent d6820e6 commit d9acb43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/geom/rectangle/GetPoints.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ var Perimeter = require('./Perimeter');
1919
* @generic {Phaser.Geom.Point[]} O - [out,$return]
2020
*
2121
* @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.
2424
* @param {(array|Phaser.Geom.Point[])} [out] - An optional array to store the points in.
2525
*
2626
* @return {(array|Phaser.Geom.Point[])} An array of Points from the perimeter of the rectangle.

0 commit comments

Comments
 (0)