Abstract base class representing a file within the game data archive.
Core WoW .m2 model: geometry, animation, textures, and character data.
On-disk attachment point definition in an M2 file.
An attachment point on a WoW model (weapon, shoulder, helmet, etc.).
int bone
Index of the bone this attachment is parented to.
void init(ModelAttachmentDef &mad)
Initialise from an on-disk attachment definition.
void setup() const
Set up the attachment transform for rendering.
glm::vec3 pos
Position relative to the parent bone.
int id
Attachment slot ID (see POSITION_SLOTS).
WoWModel * model
The model this attachment belongs to.