summaryrefslogtreecommitdiff
path: root/include/celeritas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/celeritas.h')
-rw-r--r--include/celeritas.h4
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;