Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Euler.c
| Show First 20 Lines • Show All 768 Lines • ▼ Show 20 Lines | |||||
| PyDoc_STRVAR( | PyDoc_STRVAR( | ||||
| euler_doc, | euler_doc, | ||||
| ".. class:: Euler(angles, order='XYZ')\n" | ".. class:: Euler(angles, order='XYZ')\n" | ||||
| "\n" | "\n" | ||||
| " This object gives access to Eulers in Blender.\n" | " This object gives access to Eulers in Blender.\n" | ||||
| "\n" | "\n" | ||||
| " .. seealso:: `Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia.\n" | " .. seealso:: `Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia.\n" | ||||
| "\n" | "\n" | ||||
| " :param angles: Three angles, in radians.\n" | " :arg angles: Three angles, in radians.\n" | ||||
| " :type angles: 3d vector\n" | " :type angles: 3d vector\n" | ||||
| " :param order: Optional order of the angles, a permutation of ``XYZ``.\n" | " :arg order: Optional order of the angles, a permutation of ``XYZ``.\n" | ||||
| " :type order: str\n"); | " :type order: str\n"); | ||||
| PyTypeObject euler_Type = { | PyTypeObject euler_Type = { | ||||
| PyVarObject_HEAD_INIT(NULL, 0) "Euler", /* tp_name */ | PyVarObject_HEAD_INIT(NULL, 0) "Euler", /* tp_name */ | ||||
| sizeof(EulerObject), /* tp_basicsize */ | sizeof(EulerObject), /* 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 126 Lines • Show Last 20 Lines | |||||