mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-12 04:34:41 -04:00
Introduce CURVETIME_EPSILON, to be used when handling curve time parameters.
Relates to #777
This commit is contained in:
parent
4f04dae20f
commit
d62caf6faa
6 changed files with 55 additions and 51 deletions
src/util
|
@ -81,6 +81,7 @@ var Numerical = new function() {
|
|||
* range (see MACHINE_EPSILON).
|
||||
*/
|
||||
EPSILON: EPSILON,
|
||||
CURVETIME_EPSILON: 1e-6,
|
||||
GEOMETRIC_EPSILON: 1e-9,
|
||||
/**
|
||||
* MACHINE_EPSILON for a double precision (Javascript Number) is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue