mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Replace accidental substitution of Numerical.CURVETIME_EPSILON.
This commit is contained in:
parent
da52f1f685
commit
6e96fd6be5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue