Use GEOMETRIC_EPSILON instead of EPSILON in Path#arcTo()

This commit is contained in:
Jürg Lehni 2017-03-08 14:13:19 +01:00
parent 7a3e903b4d
commit 677c073c84

View file

@ -2523,7 +2523,7 @@ new function() { // PostScript-style drawing commands
extent += extent < 0 ? 360 : -360;
}
}
var epsilon = /*#=*/Numerical.EPSILON,
var epsilon = /*#=*/Numerical.GEOMETRIC_EPSILON,
ext = abs(extent),
// Calculate the amount of segments required to approximate over
// `extend` degrees (extend / 90), but prevent ceil() from