mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Reduce CURVETIME_EPSILON to 1e-8.
This commit is contained in:
parent
2ca34cddac
commit
77cb04154a
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ var Numerical = new function() {
|
||||||
* cannot be smaller, because errors add up to around 2e-7 in the bezier
|
* cannot be smaller, because errors add up to around 2e-7 in the bezier
|
||||||
* fat-line clipping code as a result of recursive sub-division.
|
* fat-line clipping code as a result of recursive sub-division.
|
||||||
*/
|
*/
|
||||||
CURVETIME_EPSILON: 4e-7, // NOTE: 2e-7 doesn't work in some edge-cases
|
CURVETIME_EPSILON: 1e-8,
|
||||||
/**
|
/**
|
||||||
* The epsilon to be used when performing "geometric" checks, such as
|
* The epsilon to be used when performing "geometric" checks, such as
|
||||||
* distances between points and lines.
|
* distances between points and lines.
|
||||||
|
|
Loading…
Reference in a new issue