|
Blender
V2.59
|
Go to the source code of this file.
Classes | |
| struct | MatrixObject |
Defines | |
| #define | MatrixObject_Check(_v) PyObject_TypeCheck((_v), &matrix_Type) |
| #define | MATRIX_MAX_DIM 4 |
Functions | |
| PyObject * | newMatrixObject (float *mat, const unsigned short row_size, const unsigned short col_size, int type, PyTypeObject *base_type) |
| PyObject * | newMatrixObject_cb (PyObject *user, int row_size, int col_size, int cb_type, int cb_subtype) |
| void | matrix_as_3x3 (float mat[3][3], MatrixObject *self) |
Variables | |
| PyTypeObject | matrix_Type |
| int | mathutils_matrix_vector_cb_index |
| struct Mathutils_Callback | mathutils_matrix_vector_cb |
| #define MATRIX_MAX_DIM 4 |
Definition at line 40 of file mathutils_Matrix.h.
Referenced by Matrix_lerp(), and Matrix_repr().
| #define MatrixObject_Check | ( | _v | ) | PyObject_TypeCheck((_v), &matrix_Type) |
Definition at line 39 of file mathutils_Matrix.h.
Referenced by mathutils_any_to_rotmat(), Matrix_add(), Matrix_mul(), Matrix_richcmpr(), Matrix_sub(), Vector_imul(), and Vector_mul().
| void matrix_as_3x3 | ( | float | mat[3][3], |
| MatrixObject * | self | ||
| ) |
Definition at line 643 of file mathutils_Matrix.c.
References copy_v3_v3().
Referenced by mathutils_any_to_rotmat(), Matrix_median_scale_get(), Matrix_rotate(), Matrix_to_3x3(), and Matrix_to_scale().
| PyObject* newMatrixObject | ( | float * | mat, |
| const unsigned short | row_size, | ||
| const unsigned short | col_size, | ||
| int | type, | ||
| PyTypeObject * | base_type | ||
| ) |
Definition at line 1967 of file mathutils_Matrix.c.
References Matrix_identity(), NULL, Py_NEW, and Py_WRAP.
Referenced by C_Matrix_OrthoProjection(), C_Matrix_Rotation(), C_Matrix_Scale(), C_Matrix_Shear(), C_Matrix_Translation(), Euler_to_matrix(), Matrix_add(), Matrix_copy(), Matrix_lerp(), Matrix_mul(), matrix_mul_float(), Matrix_new(), Matrix_sub(), Matrix_to_3x3(), Matrix_to_4x4(), newMatrixObject_cb(), pyrna_math_object_from_array(), pyrna_param_to_py(), and Quaternion_to_matrix().
| PyObject* newMatrixObject_cb | ( | PyObject * | user, |
| int | row_size, | ||
| int | col_size, | ||
| int | cb_type, | ||
| int | cb_subtype | ||
| ) |
Definition at line 2033 of file mathutils_Matrix.c.
References newMatrixObject(), and Py_NEW.
Referenced by pyrna_math_object_from_array().
Definition at line 106 of file mathutils_Matrix.c.
Referenced by PyInit_mathutils().
Definition at line 45 of file mathutils_Matrix.c.
Referenced by Matrix_item(), Matrix_slice(), and PyInit_mathutils().
| PyTypeObject matrix_Type |
Definition at line 1902 of file mathutils_Matrix.c.
Referenced by Matrix_lerp(), and PyInit_mathutils().