Skip to content

Commit 3dfec6f

Browse files
committed
improve typings: BresenhamPoints function
1 parent 5e027f7 commit 3dfec6f

2 files changed

Lines changed: 29634 additions & 28938 deletions

File tree

src/geom/line/BresenhamPoints.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
*
1515
* @param {Phaser.Geom.Line} line - The line.
1616
* @param {integer} [stepRate=1] - The optional step rate for the points on the line.
17-
* @param {array} [results] - An optional array to push the resulting coordinates into.
17+
* @param {Phaser.Types.Math.Vector2Like[]} [results] - An optional array to push the resulting coordinates into.
1818
*
19-
* @return {object[]} The array of coordinates on the line.
19+
* @return {Phaser.Types.Math.Vector2Like[]} The array of coordinates on the line.
2020
*/
2121
var BresenhamPoints = function (line, stepRate, results)
2222
{

0 commit comments

Comments
 (0)