1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.rotateVector = void 0;
|
4 | function rotateVector(x, y, rad) {
|
5 | var X = x * Math.cos(rad) - y * Math.sin(rad);
|
6 | var Y = x * Math.sin(rad) + y * Math.cos(rad);
|
7 | return { x: X, y: Y };
|
8 | }
|
9 | exports.rotateVector = rotateVector;
|
10 | //# sourceMappingURL=rotate-vector.js.map |
\ | No newline at end of file |