1
0
Fork 0
freesewing/dist/lib/point.js

13 lines
320 B
JavaScript
Raw Normal View History

2018-07-11 12:45:02 +00:00
"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;