mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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;
|
extent += extent < 0 ? 360 : -360;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var epsilon = /*#=*/Numerical.EPSILON,
|
var epsilon = /*#=*/Numerical.GEOMETRIC_EPSILON,
|
||||||
ext = abs(extent),
|
ext = abs(extent),
|
||||||
// Calculate the amount of segments required to approximate over
|
// Calculate the amount of segments required to approximate over
|
||||||
// `extend` degrees (extend / 90), but prevent ceil() from
|
// `extend` degrees (extend / 90), but prevent ceil() from
|
||||||
|
|
Loading…
Reference in a new issue