UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

20 lines 550 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const reference_1 = require("./reference"); /** * An animation getter. */ class Stg { constructor() { this.version = -1; this.name = new reference_1.default(); this.stcIndices = new reference_1.default(); } load(stream, version, index) { this.version = version; this.name.load(stream, index); this.stcIndices.load(stream, index); } } exports.default = Stg; //# sourceMappingURL=stg.js.map