diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-06-24 16:04:27 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-06-24 16:04:27 +0400 |
commit | 9629f7ca119fe1ea0c9549be126466e4c6880bb1 (patch) | |
tree | fedb3ce848a996737ecfe775b7bfa51b4bdca9af /source/blender/makesdna/DNA_modifier_types.h | |
parent | ac898d39caedf1dc4ff49432f320e7e99afe40ca (diff) |
Adding initial SimpleModifier (bend,taper,twist)
(I might only touch this code again late on the week :S, so here is a tmp commit)
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index c960a78aefa..d938979d1ec 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -36,6 +36,7 @@ typedef enum ModifierType { eModifierType_Collision, eModifierType_Bevel, eModifierType_Shrinkwrap, + eModifierType_SimpleDeform, NUM_MODIFIER_TYPES } ModifierType; @@ -518,4 +519,14 @@ typedef struct ShrinkwrapModifierData { #define MOD_SHRINKWRAP_CULL_TARGET_FRONTFACE (1<<3) #define MOD_SHRINKWRAP_CULL_TARGET_BACKFACE (1<<4) +typedef struct SimpleDeformModifierData { + ModifierData modifier; + + struct Object *origin; /* object to control the origin of modifier space coordinates */ + float factor[4]; /* factors to control simple deforms */ + char mode; + char pad[7]; + +} SimpleDeformModifierData; + #endif |