Animated< glm::vec3 > rot
void calc(ssize_t anim, size_t time)
Compute the transform at the given animation frame.
Animated< glm::vec3 > scale
Animation tracks for translation, rotation, and scale.
void setup(ssize_t anim)
Apply the current texture transform to the OpenGL matrix stack.
Animated< glm::vec3 > trans
void init(GameFile *f, ModelTexAnimDef &mta, std::vector< uint32 > &global)
Initialise from an M2 texture animation definition.