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:
Jürg Lehni 2017-02-26 00:45:22 +01:00
parent 7b73ec238d
commit 4d3ca746ab

View file

@ -473,7 +473,7 @@ PathItem.inject(new function() {
pa = pv[ia], // the point's abscissa
po = pv[io], // the point's ordinate
// Use separate epsilons for winding contribution code.
windingEpsilon = 1e-8,
windingEpsilon = 1e-9,
qualityEpsilon = 1e-6,
paL = pa - windingEpsilon,
paR = pa + windingEpsilon,