mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
18 lines (15 loc) • 474 B
text/typescript
import { HandlerResource } from './handlerresource';
import Bounds from './bounds';
import ModelInstance from './modelinstance';
/**
* A model.
*/
export default abstract class Model extends HandlerResource {
bounds: Bounds = new Bounds();
/**
* Create the actual instance object and return it.
*
* The given type can be used to select between instance classes, if there are more than one.
*/
abstract addInstance(): ModelInstance;
}