Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Matrix.c
| Show First 20 Lines • Show All 3,315 Lines • ▼ Show 20 Lines | |||||
| PyDoc_STRVAR( | PyDoc_STRVAR( | ||||
| matrix_doc, | matrix_doc, | ||||
| ".. class:: Matrix([rows])\n" | ".. class:: Matrix([rows])\n" | ||||
| "\n" | "\n" | ||||
| " This object gives access to Matrices in Blender, supporting square and rectangular\n" | " This object gives access to Matrices in Blender, supporting square and rectangular\n" | ||||
| " matrices from 2x2 up to 4x4.\n" | " matrices from 2x2 up to 4x4.\n" | ||||
| "\n" | "\n" | ||||
| " :param rows: Sequence of rows.\n" | " :arg rows: Sequence of rows. When omitted, a 4x4 identity matrix is constructed.\n" | ||||
| " When omitted, a 4x4 identity matrix is constructed.\n" | |||||
| " :type rows: 2d number sequence\n"); | " :type rows: 2d number sequence\n"); | ||||
| PyTypeObject matrix_Type = { | PyTypeObject matrix_Type = { | ||||
| PyVarObject_HEAD_INIT(NULL, 0) "Matrix", /*tp_name*/ | PyVarObject_HEAD_INIT(NULL, 0) "Matrix", /*tp_name*/ | ||||
| sizeof(MatrixObject), /*tp_basicsize*/ | sizeof(MatrixObject), /*tp_basicsize*/ | ||||
| 0, /*tp_itemsize*/ | 0, /*tp_itemsize*/ | ||||
| (destructor)BaseMathObject_dealloc, /*tp_dealloc*/ | (destructor)BaseMathObject_dealloc, /*tp_dealloc*/ | ||||
| (printfunc)NULL, /*tp_print*/ | (printfunc)NULL, /*tp_print*/ | ||||
| NULL, /*tp_getattr*/ | NULL, /*tp_getattr*/ | ||||
| ▲ Show 20 Lines • Show All 480 Lines • Show Last 20 Lines | |||||