mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Minor code cleanup.
This commit is contained in:
parent
f4baf690f8
commit
2fb1522c76
1 changed files with 4 additions and 4 deletions
|
@ -1344,11 +1344,11 @@ new function() { // Scope for methods that require numerical integration
|
|||
if (point) {
|
||||
// We need to return the parameters for the intersection,
|
||||
// since they will be used for sorting
|
||||
var t1 = Curve.getParameterOf(v1, point.x, point.y),
|
||||
t2 = Curve.getParameterOf(v2, point.x, point.y);
|
||||
var x = point.x,
|
||||
y = point.y;
|
||||
addLocation(locations, include,
|
||||
curve1, t1, point,
|
||||
curve2, t2, point);
|
||||
curve1, Curve.getParameterOf(v1, x, y), point,
|
||||
curve2, Curve.getParameterOf(v2, x, y), point);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue