mathutils module methods only contained matrix constructors, move these to matrix...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 Aug 2010 16:40:36 +0000 (16:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 Aug 2010 16:40:36 +0000 (16:40 +0000)
commit556b615cf8eae8c656f2d2a0905564e5c0de98cc
treeb95388a46c9e9692c92638747f5abc84d66fa6bf
parentab8ccaa7098f6fee887f2a249fddada7864cd6c5
mathutils module methods only contained matrix constructors, move these to matrix class methods since this is acceptable in python. eg: dict.fromkeys() and groups them more logically.
 mathutils.RotationMatrix -> mathutils.Matrix.Rotation
 mathutils.ScaleMatrix -> mathutils.Matrix.Scale
 mathutils.ShearMatrix -> mathutils.Matrix.Shear
 mathutils.TranslationMatrix -> mathutils.Matrix.Translation
 mathutils.OrthoProjectionMatrix -> mathutils.Matrix.OrthoProjection
12 files changed:
release/scripts/io/export_fbx.py
release/scripts/io/export_obj.py
release/scripts/io/export_x3d.py
release/scripts/io/import_anim_bvh.py
release/scripts/io/import_scene_3ds.py
release/scripts/modules/add_object_utils.py
release/scripts/modules/rigify/spine_pivot_flex.py
release/scripts/modules/rigify/tail_control.py
release/scripts/op/uvcalc_smart_project.py
release/scripts/templates/gamelogic.py
source/blender/python/generic/mathutils.c
source/blender/python/generic/mathutils_matrix.c