mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Use GEOMETRIC_EPSILON instead of EPSILON in Path#arcTo()
This commit is contained in:
parent
7a3e903b4d
commit
677c073c84
1 changed files with 1 additions and 1 deletions
|
@ -2523,7 +2523,7 @@ new function() { // PostScript-style drawing commands
|
|||
extent += extent < 0 ? 360 : -360;
|
||||
}
|
||||
}
|
||||
var epsilon = /*#=*/Numerical.EPSILON,
|
||||
var epsilon = /*#=*/Numerical.GEOMETRIC_EPSILON,
|
||||
ext = abs(extent),
|
||||
// Calculate the amount of segments required to approximate over
|
||||
// `extend` degrees (extend / 90), but prevent ceil() from
|
||||
|
|
Loading…
Reference in a new issue