Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2008-06-24 16:04:27 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2008-06-24 16:04:27 +0400
commit9629f7ca119fe1ea0c9549be126466e4c6880bb1 (patch)
treefedb3ce848a996737ecfe775b7bfa51b4bdca9af /source/blender/makesdna/DNA_modifier_types.h
parentac898d39caedf1dc4ff49432f320e7e99afe40ca (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.h11
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