Skip to content

Commit fbd6d9c

Browse files
author
Wouter Commandeur
committed
1 parent 4af89db commit fbd6d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Line.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Phaser.Line.prototype = {
104104
*/
105105
pointOnLine: function (x, y) {
106106

107-
return ((x - this.start.x) * (this.end.y - this.end.y) === (this.end.x - this.start.x) * (y - this.end.y));
107+
return ((x - this.start.x) * (this.end.y - this.start.y) === (this.end.x - this.start.x) * (y - this.start.y));
108108

109109
},
110110

0 commit comments

Comments
 (0)