Files
gpu-renderer/animation.h
T

16 lines
309 B
C

#ifndef ANIMATION_H
#define ANIMATION_H
#include "model.h"
typedef struct {
mat4_t *bone_matrices;
} animation_state_t;
animation_state_t animation_init(const model_t *model);
void animation_cleanup(animation_state_t *state);
void animation_update(animation_state_t state, const model_t *model);
#endif