@js-draw/math
Version:
A math library for js-draw.
11 lines (10 loc) • 534 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vec2 = exports.Vec3 = void 0;
// Internally, we define Vec2 as a namespace within Vec3 --
// this allows referencing Vec2s from Vec3 constructors without
// cyclic references.
const Vec3_1 = require("./Vec3");
Object.defineProperty(exports, "Vec3", { enumerable: true, get: function () { return Vec3_1.Vec3; } });
Object.defineProperty(exports, "Vec2", { enumerable: true, get: function () { return Vec3_1.Vec2; } });
exports.default = Vec3_1.Vec2;
;