Implement linear interpolation between animation keyframes
This commit is contained in:
1 parent
381890892b
commit
f4096b5a07
6 files changed
+103
-29
No files matched your search
+2
-1
@@ -13,7 +13,8 @@ typedef struct {
|
||||
animation_state_t animation_init(const model_t *model);
|
||||
void animation_cleanup(animation_state_t *state);
|
||||
|
||||
void animation_start(animation_state_t *state, const model_t *model);
|
||||
void animation_start(
|
||||
animation_state_t *state, const model_t *model, uint32_t start_keyframe);
|
||||
void animation_update(
|
||||
animation_state_t *state, const model_t *model, uint32_t dt_us);
|
||||
|
||||
|
||||
Reference in new issue
Block a user