Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Euler.c
| Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| /* return a matrix representation of the euler */ | /* return a matrix representation of the euler */ | ||||
| PyDoc_STRVAR(Euler_to_matrix_doc, | PyDoc_STRVAR(Euler_to_matrix_doc, | ||||
| ".. method:: to_matrix()\n" | ".. method:: to_matrix()\n" | ||||
| "\n" | "\n" | ||||
| " Return a matrix representation of the euler.\n" | " Return a matrix representation of the euler.\n" | ||||
| "\n" | "\n" | ||||
| " :return: A 3x3 roation matrix representation of the euler.\n" | " :return: A 3x3 rotation matrix representation of the euler.\n" | ||||
| " :rtype: :class:`Matrix`\n" | " :rtype: :class:`Matrix`\n" | ||||
| ); | ); | ||||
| static PyObject *Euler_to_matrix(EulerObject *self) | static PyObject *Euler_to_matrix(EulerObject *self) | ||||
| { | { | ||||
| float mat[9]; | float mat[9]; | ||||
| if (BaseMath_ReadCallback(self) == -1) | if (BaseMath_ReadCallback(self) == -1) | ||||
| return NULL; | return NULL; | ||||
| ▲ Show 20 Lines • Show All 658 Lines • Show Last 20 Lines | |||||