6#include "glm/gtc/type_ptr.hpp"
std::vector< Bone > bones
On-disk attachment point definition in an M2 file.
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.
WoWModel * model
The model this attachment belongs to.