mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-12 04:34:41 -04:00
Improve Line.intersect() to more reliably find interesctions at the beginnings / ends.
Relates to #784
This commit is contained in:
parent
53ff973f06
commit
75a004187e
3 changed files with 19 additions and 8 deletions
src/util
|
@ -112,7 +112,7 @@ var Numerical = new function() {
|
|||
KAPPA: 4 * (sqrt(2) - 1) / 3,
|
||||
|
||||
/**
|
||||
* Check if the value is 0, within a tolerance defined by
|
||||
* Checks if the value is 0, within a tolerance defined by
|
||||
* Numerical.EPSILON.
|
||||
*/
|
||||
isZero: function(val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue