1
0
Fork 0
freesewing/dist/lib/point.js
2018-07-11 12:45:02 +00:00

12 lines
320 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var PRECISION = 2;
var Point = /** @class */ (function () {
function Point(x, y) {
this.x = +x.toFixed(PRECISION);
this.y = +y.toFixed(PRECISION);
return this;
}
return Point;
}());
exports.default = Point;