diff options
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_key_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h index 2b097092bc4..fa58f8f8abd 100644 --- a/source/blender/makesdna/DNA_key_types.h +++ b/source/blender/makesdna/DNA_key_types.h @@ -135,4 +135,15 @@ enum { KEYBLOCK_LOCKED = (1 << 2) }; +#define KEYELEM_FLOAT_LEN_COORD 3 + +/* Curve key data layout constants */ +#define KEYELEM_ELEM_SIZE_CURVE 3 + +#define KEYELEM_ELEM_LEN_BPOINT 2 +#define KEYELEM_FLOAT_LEN_BPOINT (KEYELEM_ELEM_LEN_BPOINT * KEYELEM_ELEM_SIZE_CURVE) + +#define KEYELEM_ELEM_LEN_BEZTRIPLE 4 +#define KEYELEM_FLOAT_LEN_BEZTRIPLE (KEYELEM_ELEM_LEN_BEZTRIPLE * KEYELEM_ELEM_SIZE_CURVE) + #endif /* __DNA_KEY_TYPES_H__ */ |