diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 03:57:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 03:57:00 +0400 |
commit | 39c0e690d3ad350195c8c68b7a8d317d056ff6a0 (patch) | |
tree | 8536e8465b35c4bd0a4728eac5e7f21fce5f60fa /source/blender/modifiers | |
parent | 394537715d1988056fe47a1c3a0dace6d39499e5 (diff) |
sub_v3_v3v3 --> sub_v3_v3 (where possible)
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cast.c | 6 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index b745d396a48..338454f0e6a 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -206,7 +206,7 @@ static void sphere_do( if(flag & MOD_CAST_USE_OB_TRANSFORM) { mul_m4_v3(mat, tmp_co); } else { - sub_v3_v3v3(tmp_co, tmp_co, center); + sub_v3_v3(tmp_co, center); } } @@ -261,7 +261,7 @@ static void sphere_do( if(flag & MOD_CAST_USE_OB_TRANSFORM) { mul_m4_v3(mat, tmp_co); } else { - sub_v3_v3v3(tmp_co, tmp_co, center); + sub_v3_v3(tmp_co, center); } } @@ -413,7 +413,7 @@ static void cuboid_do( if(flag & MOD_CAST_USE_OB_TRANSFORM) { mul_m4_v3(mat, tmp_co); } else { - sub_v3_v3v3(tmp_co, tmp_co, center); + sub_v3_v3(tmp_co, center); } } diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index ce0667c4fbc..b70f145b67b 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -605,7 +605,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, * Use the edge order to make the subtraction, flip the normal the right way * edge should be there but check just in case... */ if (vc->e && vc->e[0]->v1 == i) { - sub_v3_v3v3(tmp_vec1, tmp_vec1, tmp_vec2); + sub_v3_v3(tmp_vec1, tmp_vec2); } else { sub_v3_v3v3(tmp_vec1, tmp_vec2, tmp_vec1); |