mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
16 lines (13 loc) • 336 B
text/typescript
import M3Region from './region';
import M3StandardMaterial from './standardmaterial';
/**
* An M3 batch.
*/
export default class M3Batch {
region: M3Region;
material: M3StandardMaterial;
constructor(region: M3Region, material: M3StandardMaterial) {
this.region = region;
this.material = material;
}
}