mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-07 19:49:09 -04:00
Remove unnecessary call of new Point().
This commit is contained in:
parent
dc410b6894
commit
8cdd7fe2b2
1 changed files with 0 additions and 1 deletions
|
@ -213,7 +213,6 @@ var Point = Base.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
isClose: function(point, tolerance) {
|
isClose: function(point, tolerance) {
|
||||||
point = new Point(point);
|
|
||||||
return this.getDistance(point) < tolerance;
|
return this.getDistance(point) < tolerance;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue