From 677c073c8486ed9e24fdc8922496c24aa3d0e6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 8 Mar 2017 14:13:19 +0100 Subject: [PATCH] Use GEOMETRIC_EPSILON instead of EPSILON in Path#arcTo() --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index 43b8de85..42eaa34e 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -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