summaryrefslogtreecommitdiff
path: root/src/animation.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
commitb03bde3d412148cd573f5f14012cdd270f309947 (patch)
tree848af582079a60787cc5a5f8138e7ca6d508f2ee /src/animation.h
parent48a703e52490cb52fd32e54e3e37f7e70462a267 (diff)
starting work on immediate mode drawing
Diffstat (limited to 'src/animation.h')
-rw-r--r--src/animation.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/animation.h b/src/animation.h
index 66277e9..343746a 100644
--- a/src/animation.h
+++ b/src/animation.h
@@ -4,7 +4,11 @@
#include "defines.h"
#include "maths_types.h"
-typedef enum Interpolation { INTERPOLATION_LINEAR, INTERPOLATION_COUNT } Interpolation;
+typedef enum Interpolation {
+ INTERPOLATION_STEP,
+ INTERPOLATION_LINEAR,
+ INTERPOLATION_CUBIC, /** @brief Cubic spline interpolation */
+ INTERPOLATION_COUNT } Interpolation;
typedef enum KeyframeKind {
KEYFRAME_ROTATION,