mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Mark arguments as optional
This commit is contained in:
parent
2ec969e718
commit
a2a6124ee5
1 changed files with 2 additions and 2 deletions
|
@ -353,8 +353,8 @@ var Curve = new Class({
|
|||
* @method Phaser.Curves.Curve#getSpacedPoints
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {integer} divisions - The number of evenly spaced points from the curve to return. If falsy, step param will be used to calculate the number of points.
|
||||
* @param {number} step - Step between points. Used to calculate the number of points to return when divisions is falsy. Ignored if divisions is positive.
|
||||
* @param {integer} [divisions] - The number of evenly spaced points from the curve to return. If falsy, step param will be used to calculate the number of points.
|
||||
* @param {number} [step] - Step between points. Used to calculate the number of points to return when divisions is falsy. Ignored if divisions is positive.
|
||||
* @param {(array|Phaser.Math.Vector2[])} [out] - An optional array to store the points in.
|
||||
*
|
||||
* @return {Phaser.Math.Vector2[]} [description]
|
||||
|
|
Loading…
Reference in a new issue