diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-30 14:13:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-30 14:15:14 +0300 |
commit | c2dc51d8271bc91586ef3c731c3cd7382456d482 (patch) | |
tree | 0f36251263eb41d779cdcd027f3588a03da6110e /source/blender/editors/space_view3d | |
parent | 4ff87446690edd15e49d5f8610db150428690a98 (diff) |
Math Lib: add transpose_m3_m3, m3_m4, m4_m4
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index db04d3ccd66..f8f7bd1137e 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -2153,8 +2153,7 @@ static void calcDrawDMNormalScale(Object *ob, drawDMNormal_userData *data) invert_m3_m3(data->imat, obmat); /* transposed inverted matrix */ - copy_m3_m3(data->tmat, data->imat); - transpose_m3(data->tmat); + transpose_m3_m3(data->tmat, data->imat); } } |