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/curves/Curve.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -295,6 +295,8 @@ var Curve = new Class({
295
295
* @method Phaser.Curves.Curve#getPoints
296
296
* @since 3.0.0
297
297
*
298
+
* @generic {Phaser.Math.Vector2[]} O - [out,$return]
299
+
*
298
300
* @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.
299
301
* @param {number} step - Step between points. Used to calculate the number of points to return when divisions is falsy. Ignored if divisions is positive.
300
302
* @param {(array|Phaser.Math.Vector2[])} [out] - An optional array to store the points in.
0 commit comments