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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-26 22:36:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-26 22:36:25 +0400
commitec8d277c64346770b99716b3c1bbdcd07eae26f6 (patch)
treee0fc551f658e2585d0ea1c36b8d3e2c373919ef2 /source/blender/modifiers/intern/MOD_mirror.c
parent4cf069a41d0a3c39a39237656cd7e65be1d37924 (diff)
BLI_math rename functions:
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mirror.c')
-rw-r--r--source/blender/modifiers/intern/MOD_mirror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c
index 3c886bafc79..00c343d1918 100644
--- a/source/blender/modifiers/intern/MOD_mirror.c
+++ b/source/blender/modifiers/intern/MOD_mirror.c
@@ -126,7 +126,7 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
/* tmp is a transform from coords relative to the object's own origin,
* to coords relative to the mirror object origin */
invert_m4_m4(tmp, mmd->mirror_ob->obmat);
- mult_m4_m4m4(tmp, tmp, ob->obmat);
+ mul_m4_m4m4(tmp, tmp, ob->obmat);
/* itmp is the reverse transform back to origin-relative coordinates */
invert_m4_m4(itmp, tmp);
@@ -134,8 +134,8 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
/* combine matrices to get a single matrix that translates coordinates into
* mirror-object-relative space, does the mirror, and translates back to
* origin-relative space */
- mult_m4_m4m4(mtx, mtx, tmp);
- mult_m4_m4m4(mtx, itmp, mtx);
+ mul_m4_m4m4(mtx, mtx, tmp);
+ mul_m4_m4m4(mtx, itmp, mtx);
}
result = CDDM_from_template(dm, maxVerts * 2, maxEdges * 2, 0, maxLoops * 2, maxPolys * 2);