Math Lib: add transpose_m3_m3, m3_m4, m4_m4
[blender.git] / source / blender / collada / collada_internal.cpp
index 567ee22b3d62cf5c8d34644e67f7ba6bafd94bb7..2aab9b6e7d3ac022a9c38aff76507a0faa6bb7f1 100644 (file)
@@ -94,8 +94,7 @@ void UnitConverter::dae_matrix_to_mat4_(float out[4][4], const COLLADABU::Math::
 
 void UnitConverter::mat4_to_dae(float out[4][4], float in[4][4])
 {
-       copy_m4_m4(out, in);
-       transpose_m4(out);
+       transpose_m4_m4(out, in);
 }
 
 void UnitConverter::mat4_to_dae_double(double out[4][4], float in[4][4])