mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
13 lines (12 loc) • 421 B
TypeScript
import MdlxCollisionShape, { Shape } from '../../../parsers/mdlx/collisionshape';
import GenericObject from './genericobject';
import MdxModel from './model';
/**
* A collision shape.
*/
export default class CollisionShape extends GenericObject {
type: Shape;
vertices: Float32Array[];
boundsRadius: number;
constructor(model: MdxModel, collisionShape: MdlxCollisionShape, index: number);
}