mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Clean up other Point.create() calls.
This commit is contained in:
parent
51e5a29a9d
commit
4bac4b89f6
1 changed files with 4 additions and 2 deletions
|
@ -493,7 +493,8 @@ var Point = this.Point = Base.extend({
|
|||
min: function(point1, point2) {
|
||||
return Point.create(
|
||||
Math.min(point1.x, point2.x),
|
||||
Math.min(point1.y, point2.y));
|
||||
Math.min(point1.y, point2.y)
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -515,7 +516,8 @@ var Point = this.Point = Base.extend({
|
|||
max: function(point1, point2) {
|
||||
return Point.create(
|
||||
Math.max(point1.x, point2.x),
|
||||
Math.max(point1.y, point2.y));
|
||||
Math.max(point1.y, point2.y)
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue