@antv/coord
Version:
Toolkit for mapping elements of sets into geometric objects.
12 lines • 349 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.adjustAngle = void 0;
function adjustAngle(theta, min, max) {
while (theta < min)
theta += Math.PI * 2;
while (theta > max)
theta -= Math.PI * 2;
return theta;
}
exports.adjustAngle = adjustAngle;
//# sourceMappingURL=adjustAngle.js.map
;