"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function degreesToRadians(d) {
    return d * Math.PI / 180;
}
function radiansToDegrees(r) {
    return r * 180 / Math.PI;
}
function anglesOfTriangle(sa, sb, sc) {
    var cosa = (sb * sb + sc * sc - sa * sa) / (2 * sb * sc);
    var cosb = (sc * sc + sa * sa - sb * sb) / (2 * sc * sa);
    var cosc = (sa * sa + sb * sb - sc * sc) / (2 * sa * sb);
    return [Math.acos(cosb), Math.acos(cosc), Math.acos(cosa)];
}
function hypotenuseValue(a, b) {
    return Math.sqrt(a * a + b * b);
}
exports.default = {
    degreesToRadians: degreesToRadians,
    radiansToDegrees: radiansToDegrees,
    anglesOfTriangle: anglesOfTriangle,
    hypotenuseValue: hypotenuseValue,
};
//# sourceMappingURL=MathUtils.js.map