Replace accidental substitution of Numerical.CURVETIME_EPSILON.

This commit is contained in:
Jürg Lehni 2017-01-17 11:24:33 +01:00
parent da52f1f685
commit 6e96fd6be5

View file

@ -669,7 +669,7 @@ statics: /** @lends Curve */{
var a = 3 * (o1 - o2) - o0 + o3,
b = 2 * (o0 + o2) - 4 * o1,
c = o1 - o0,
tMin = 4e-7,
tMin = /*#=*/Numerical.CURVETIME_EPSILON,
tMax = 1 - tMin,
roots = [],
n = Numerical.solveQuadratic(a, b, c, roots, tMin, tMax);