mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Reduce windingEpsilon to 1e-9.
this address the issue outlined in https://github.com/paperjs/paper.js/issues/1261#issuecomment-282520748
This commit is contained in:
parent
7b73ec238d
commit
4d3ca746ab
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ PathItem.inject(new function() {
|
||||||
pa = pv[ia], // the point's abscissa
|
pa = pv[ia], // the point's abscissa
|
||||||
po = pv[io], // the point's ordinate
|
po = pv[io], // the point's ordinate
|
||||||
// Use separate epsilons for winding contribution code.
|
// Use separate epsilons for winding contribution code.
|
||||||
windingEpsilon = 1e-8,
|
windingEpsilon = 1e-9,
|
||||||
qualityEpsilon = 1e-6,
|
qualityEpsilon = 1e-6,
|
||||||
paL = pa - windingEpsilon,
|
paL = pa - windingEpsilon,
|
||||||
paR = pa + windingEpsilon,
|
paR = pa + windingEpsilon,
|
||||||
|
|
Loading…
Reference in a new issue