Skip to content

Commit c5f28f1

Browse files
authored
Merge pull request phaserjs#3791 from photonstorm/mikewesthad-line-doc-fix
Line#getPointB documentation typo fix: "start" is used where "end" was intended
2 parents 2793fde + bf995c7 commit c5f28f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/geom/line/Line.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ var Line = new Class({
182182
},
183183

184184
/**
185-
* Returns a Vector2 object that corresponds to the start of this Line.
185+
* Returns a Vector2 object that corresponds to the end of this Line.
186186
*
187187
* @method Phaser.Geom.Line#getPointB
188188
* @since 3.0.0
@@ -191,7 +191,7 @@ var Line = new Class({
191191
*
192192
* @param {Phaser.Math.Vector2} [vec2] - A Vector2 object to set the results in. If `undefined` a new Vector2 will be created.
193193
*
194-
* @return {Phaser.Math.Vector2} A Vector2 object that corresponds to the start of this Line.
194+
* @return {Phaser.Math.Vector2} A Vector2 object that corresponds to the end of this Line.
195195
*/
196196
getPointB: function (vec2)
197197
{

0 commit comments

Comments
 (0)