UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

12 lines 348 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toDegree = exports.toRadian = void 0; function toRadian(degree) { return (degree * Math.PI) / 180; } exports.toRadian = toRadian; function toDegree(radian) { return (radian * 180) / Math.PI; } exports.toDegree = toDegree; //# sourceMappingURL=angle.js.map