@pilotlab/lux-types
Version:
A luxurious user experience framework, developed by your friends at Pilot.
34 lines • 1.19 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var pointBase_1 = require("./pointBase");
var Point = (function (_super) {
__extends(Point, _super);
function Point(x, y, z) {
return _super.call(this, 'point', x, y, z) || this;
}
Object.defineProperty(Point, "empty", {
get: function () {
var point = new Point();
point.x = null;
point.y = null;
point.z = null;
return point;
},
enumerable: true,
configurable: true
});
return Point;
}(pointBase_1.default));
exports.Point = Point;
exports.default = Point;
//# sourceMappingURL=point.js.map