mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Reduce epsilon in addCurveIntersections()
1/10 of CURVETIME_EPSILON appears to produce good results. It's probably wise to keep it linked.
This commit is contained in:
parent
3ac3df8d32
commit
7f4d8d54f0
1 changed files with 1 additions and 1 deletions
|
@ -1439,7 +1439,7 @@ new function() { // Scope for intersection using bezier fat-line clipping
|
|||
return;
|
||||
// Let P be the first curve and Q be the second
|
||||
var q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
epsilon = /*#=*/Numerical.CURVETIME_EPSILON,
|
||||
epsilon = /*#=*/Numerical.CURVETIME_EPSILON / 10,
|
||||
getSignedDistance = Line.getSignedDistance,
|
||||
// Calculate the fat-line L for Q is the baseline l and two
|
||||
// offsets which completely encloses the curve P.
|
||||
|
|
Loading…
Reference in a new issue