We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452e792 commit e792bc8Copy full SHA for e792bc8
src/lib/angles.js
@@ -37,7 +37,7 @@ function wrap180(deg) {
37
* @return {boolean}
38
*/
39
function isFullCircle(aBnds) {
40
- return Math.abs(aBnds[1] - aBnds[0]) === twoPI;
+ return Math.abs(Math.abs(aBnds[1] - aBnds[0]) - twoPI) < 1e-15;
41
}
42
43
/**
0 commit comments