diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:31 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:31 +1100 |
commit | 28bd234a45995b62544e6b5f70d40dfe39ef2e99 (patch) | |
tree | 1aca5cd820091e6b9652ee7d104b9b337343e0fb /include/celeritas.h | |
parent | 68f590c848e0e91d70e7116655464f392ed6df46 (diff) |
recompile .o files when header changes
Diffstat (limited to 'include/celeritas.h')
-rw-r--r-- | include/celeritas.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/celeritas.h b/include/celeritas.h index 534fb85..0b56bf5 100644 --- a/include/celeritas.h +++ b/include/celeritas.h @@ -563,7 +563,7 @@ model_handle model_load_from_gltf(const char* path); typedef enum keyframe_kind { Keyframe_Rotation, Keyframe_Translation, Keyframe_Scale, Keyframe_Weights } keyframe_kind; -const char* keyframe_kind_strings[4] = { "ROTATION", "TRANSLATION", "SCALE", "WEIGHTS" }; +extern const char* keyframe_kind_strings[4]; typedef union keyframe { quat rotation; @@ -580,6 +580,8 @@ typedef struct keyframes { typedef enum interpolation { Interpolation_Step, Interpolation_Linear, Interpolation_Cubic } interpolation; +extern const char* interpolation_strings[3]; + typedef struct animation_spline { f32* timestamps; size_t n_timestamps; |