mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Have Numerical.CURVETIME_EPSILON / 10 evaluated at preprocess time.
This commit is contained in:
parent
7f4d8d54f0
commit
bc736f439f
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 / 10,
|
||||
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