Implement linear interpolation between animation keyframes

This commit is contained in:
Camden Dixie O'Brien committed 2025-10-02 17:28:03 +01:00
1 parent 381890892b
commit f4096b5a07
6 files changed
+103 -29

No files matched your search

+2 -1
View File
@@ -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);