Blender  V2.59
Classes | Defines | Functions | Variables
mathutils_Matrix.h File Reference

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 Documentation

#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)

Function Documentation

void matrix_as_3x3 ( float  mat[3][3],
MatrixObject self 
)
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 
)

Definition at line 2033 of file mathutils_Matrix.c.

References newMatrixObject(), and Py_NEW.

Referenced by pyrna_math_object_from_array().


Variable Documentation

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().