diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-08-21 17:52:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-08-21 17:52:32 +0400 |
commit | 0925d80cfadcd1827d43bf9fd4b00ee99fe4cd81 (patch) | |
tree | bd6cdd97c63c214a6680c6a918a8ebb32b813ed2 /source/blender/python/api2_2x/matrix.h | |
parent | 0dcfab3e3268bac17b37e382bddbbf5169780914 (diff) |
removed the unpopular 'ed' functions, and added .copy() to Mathutils vector and matrix
(inverted, normalized, transposed)
making an inverted copy of an objects matrix used to be.. (2.42)
imat= Mathutils.Matrix(ob.matrixWorld)
imat.invert()
# inverted.. I added but now removed
imat= ob.matrixWorld.inverted()
# with copy (current functionality)...
imat= ob.matrixWorld.copy().invert()
Diffstat (limited to 'source/blender/python/api2_2x/matrix.h')
-rw-r--r-- | source/blender/python/api2_2x/matrix.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/matrix.h b/source/blender/python/api2_2x/matrix.h index ca95cba164e..a2581ab009b 100644 --- a/source/blender/python/api2_2x/matrix.h +++ b/source/blender/python/api2_2x/matrix.h @@ -66,16 +66,15 @@ blender (stored in blend_data). This is an either/or struct not both*/ PyObject *Matrix_Zero( MatrixObject * self ); PyObject *Matrix_Identity( MatrixObject * self ); PyObject *Matrix_Transpose( MatrixObject * self ); -PyObject *Matrix_Transposed( MatrixObject * self ); PyObject *Matrix_Determinant( MatrixObject * self ); PyObject *Matrix_Invert( MatrixObject * self ); -PyObject *Matrix_Inverted( MatrixObject * self ); PyObject *Matrix_TranslationPart( MatrixObject * self ); PyObject *Matrix_RotationPart( MatrixObject * self ); PyObject *Matrix_scalePart( MatrixObject * self ); PyObject *Matrix_Resize4x4( MatrixObject * self ); PyObject *Matrix_toEuler( MatrixObject * self ); PyObject *Matrix_toQuat( MatrixObject * self ); +PyObject *Matrix_copy( MatrixObject * self ); PyObject *newMatrixObject(float *mat, int rowSize, int colSize, int type); #endif /* EXPP_matrix_H */ |