mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
16 lines • 487 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const agent_1 = require("./agent");
/**
* type rect
*/
class JassRect extends agent_1.default {
constructor(minx, miny, maxx, maxy) {
super();
this.center = new Float32Array([maxx - minx, maxy - miny]);
this.min = new Float32Array([minx, miny]);
this.max = new Float32Array([maxx, maxy]);
}
}
exports.default = JassRect;
//# sourceMappingURL=rect.js.map
;