BLI_math: add mat3_normalized_to_* functions
authorCampbell Barton <ideasman42@gmail.com>
Fri, 23 Oct 2015 20:02:51 +0000 (07:02 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 23 Oct 2015 20:02:51 +0000 (07:02 +1100)
commitfbca69c69afb370ddc5a0b52e10d9db61c025752
tree8dde2bedbc44a98af31d06bf2fa80a1fb04432e7
parent3a98426ed6d37a204b1d55834e0590dcb7990b47
BLI_math: add mat3_normalized_to_* functions

Many uses of matrices for rotation keep them normalized,
so no need to normalize each time.
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/object.c
source/blender/blenlib/BLI_math_rotation.h
source/blender/blenlib/intern/math_matrix.c
source/blender/blenlib/intern/math_rotation.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/python/mathutils/mathutils_Matrix.c
source/blender/python/mathutils/mathutils_Quaternion.c