diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-02 14:51:10 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-02 14:51:10 +0300 |
commit | c67952a4757c2ec0c29de3f0cd4e8ca445f3ce1b (patch) | |
tree | b67d84962d35d8ee59bbeab6fecfbef6890438e5 /source/blender/makesdna/DNA_curve_types.h | |
parent | 9c2e4571ccffcaf1c1e1db94a79636a933e89086 (diff) |
Animato RNA wrapping:
It's about time that the RNA wrapping for various parts of the animation system were cleaned up for my recent changes. I've moved some code around (and/or deleted a file or two) in the process.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 6a88e76deca..d8b5c206ecf 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -260,12 +260,23 @@ typedef struct Curve { /* flagu flagv (nurb) */ #define CU_CYCLIC 1 +/* *************** BEZTRIPLE **************** */ + /* h1 h2 (beztriple) */ -#define HD_FREE 0 -#define HD_AUTO 1 -#define HD_VECT 2 -#define HD_ALIGN 3 -#define HD_AUTO_ANIM 4 +enum { + HD_FREE = 0, + HD_AUTO, + HD_VECT, + HD_ALIGN, + HD_AUTO_ANIM +} eBezTriple_Handle; + +/* interpolation modes (used only for BezTriple->ipo) */ +enum { + BEZT_IPO_CONST = 0, /* constant interpolation */ + BEZT_IPO_LIN, /* linear interpolation */ + BEZT_IPO_BEZ, /* bezier interpolation */ +} eBezTriple_Interpolation; /* *************** CHARINFO **************** */ |