math: Add functions to decompose transformation matrices
authorSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:56:05 +0000 (05:56 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:56:05 +0000 (05:56 +0000)
commite83e3b0cf74c7150d2ee047c4a0b84e7b0de8951
tree8fa42f2e4b6e6670acbac46bb899413047a14f7b
parent281e094e16b49bd1c3aa211d5d000c4a211c97ef
math: Add functions to decompose transformation matrices

mat4_decompose() is similar to mat4_to_loc_rot_size() but returns
rotation as quaternion.
mat4_to_loc_quat() just returns location and rotation without size.
source/blender/blenlib/BLI_math_matrix.h
source/blender/blenlib/intern/math_matrix.c