UNPKG

mdx-m3-viewer

Version:

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

15 lines (12 loc) 311 B
import AttachmentPoint from '../../../parsers/m3/attachmentpoint'; /** * An M3 attachment. */ export default class M3Attachment { name: string; bone: number; constructor(attachment: AttachmentPoint) { this.name = <string>attachment.name.get(); this.bone = attachment.bone; } }