Implement bone matrix computation
This commit is contained in:
1 parent
e81061ad22
commit
998d5e88e1
6 files changed
+132
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in new issue
Block a user