diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-05-02 04:16:48 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-05-02 04:16:48 +0400 |
commit | 9026559ded7eb0607f3c5118ff0b306583910a60 (patch) | |
tree | 253e8065f4e526fd59b3eb6d03cb7e96519d7a1c /source/blender/makesdna/DNA_modifier_types.h | |
parent | 64f5d1bdf3b2c99ee2282f2b3cf454da02b8c775 (diff) |
+normal projection optimized with RayTree (RE_raytrace.h)
+control for normal projection direction (default,inverted,both)
There are some bugs on projection over quads.. it seems to work 100% on fully triangulized meshs
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index f2d053d612c..6dc018c33c0 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -495,7 +495,8 @@ typedef struct ShrinkwrapModifierData { struct Object *target; /* shrink target */ char vgroup_name[32]; /* optional vertexgroup name */ short shrinkType; /* shrink type projection */ - short pad[3]; + short shrinkOpts; /* shrink options */ + short pad[2]; } ShrinkwrapModifierData; /* Shrinkwrap->shrinkType */ @@ -503,5 +504,8 @@ typedef struct ShrinkwrapModifierData { #define MOD_SHRINKWRAP_NORMAL 1 #define MOD_SHRINKWRAP_NEAREST_VERTEX 2 +/* Shrinkwrap->shrinkOpts */ +#define MOD_SHRINKWRAP_ALLOW_DEFAULT_NORMAL (1<<0) +#define MOD_SHRINKWRAP_ALLOW_INVERTED_NORMAL (1<<1) #endif |