"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class Atan2 extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['x', 'y'],
            o: ['rad'],
        }, {}, system, _ids_1.ID_ATAN2);
    }
    f({ x, y }, done) {
        done({ rad: Math.atan2(x, y) });
    }
}
exports.default = Atan2;
//# sourceMappingURL=index.js.map