From bc736f439f5dca48f898bcb2b8a28f9c73b26681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 6 Oct 2015 21:14:43 +0200 Subject: [PATCH] Have Numerical.CURVETIME_EPSILON / 10 evaluated at preprocess time. --- src/path/Curve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index c3067270..bf02d548 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -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.