UNPKG
@antv/coord
Version:
beta (0.3.0-beta.1)
latest (0.4.7)
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.4.0-beta.3
0.4.0-beta.2
0.4.0-beta.1
0.3.1
0.3.0
0.3.0-beta.1
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.3
0.0.2
Toolkit for mapping elements of sets into geometric objects.
github.com/antvis/coord
antvis/coord
@antv/coord
/
esm
/
utils
/
adjustAngle.js
8 lines
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
export
function
adjustAngle
(
theta, min, max
) {
while
(theta < min) theta +=
Math
.
PI
*
2
;
while
(theta > max) theta -=
Math
.
PI
*
2
;
return
theta; }
//# sourceMappingURL=adjustAngle.js.map