Skip to content

Commit 1a67945

Browse files
committed
Merge branch 'master' of https://github.com/photonstorm/phaser
2 parents 13df64c + 8d37273 commit 1a67945

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
@@ -171,7 +171,7 @@ var Line = new Class({
171171
{
172172
if (vec2 === undefined) { vec2 = new Vector2(); }
173173

174-
vec2.setTo(this.x1, this.y1);
174+
vec2.set(this.x1, this.y1);
175175

176176
return vec2;
177177
},
@@ -192,7 +192,7 @@ var Line = new Class({
192192
{
193193
if (vec2 === undefined) { vec2 = new Vector2(); }
194194

195-
vec2.setTo(this.x2, this.y2);
195+
vec2.set(this.x2, this.y2);
196196

197197
return vec2;
198198
},

0 commit comments

Comments
 (0)