Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | EulerObject |
Macros | |
#define | EulerObject_Check(v) PyObject_TypeCheck((v), &euler_Type) |
#define | EulerObject_CheckExact(v) (Py_TYPE(v) == &euler_Type) |
Functions | |
PyObject * | Euler_CreatePyObject (const float eul[3], short order, PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT |
PyObject * | Euler_CreatePyObject_wrap (float eul[3], short order, PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
PyObject * | Euler_CreatePyObject_cb (PyObject *cb_user, short order, unsigned char cb_type, unsigned char cb_subtype) ATTR_WARN_UNUSED_RESULT |
short | euler_order_from_string (const char *str, const char *error_prefix) |
Variables | |
PyTypeObject | euler_Type |
#define EulerObject_Check | ( | v | ) | PyObject_TypeCheck((v), &euler_Type) |
Definition at line 10 of file mathutils_Euler.h.
#define EulerObject_CheckExact | ( | v | ) | (Py_TYPE(v) == &euler_Type) |
Definition at line 11 of file mathutils_Euler.h.
PyObject* Euler_CreatePyObject | ( | const float | eul[3], |
short | order, | ||
PyTypeObject * | base_type | ||
) |
Definition at line 839 of file mathutils_Euler.c.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_NEW, copy_v3_v3(), EULER_SIZE, euler_Type, NULL, order, self, UNLIKELY, and zero_v3().
Referenced by Euler_copy(), Euler_CreatePyObject_cb(), Euler_new(), Matrix_to_euler(), pyrna_math_object_from_array(), and Quaternion_to_euler().
PyObject* Euler_CreatePyObject_cb | ( | PyObject * | cb_user, |
short | order, | ||
unsigned char | cb_type, | ||
unsigned char | cb_subtype | ||
) |
Definition at line 896 of file mathutils_Euler.c.
References Euler_CreatePyObject(), NULL, and order.
Referenced by pyrna_math_object_from_array().
PyObject* Euler_CreatePyObject_wrap | ( | float | eul[3], |
short | order, | ||
PyTypeObject * | base_type | ||
) |
Definition at line 877 of file mathutils_Euler.c.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_FLAG_IS_WRAP, BASE_MATH_NEW, euler_Type, NULL, and order.
short euler_order_from_string | ( | const char * | str, |
const char * | error_prefix | ||
) |
Definition at line 33 of file mathutils_Euler.c.
References EULER_ORDER_XYZ, EULER_ORDER_XZY, EULER_ORDER_YXZ, EULER_ORDER_YZX, EULER_ORDER_ZXY, EULER_ORDER_ZYX, MAKE_ID3, and str.
Referenced by Euler_new(), Euler_order_set(), Matrix_to_euler(), and Quaternion_to_euler().
|
extern |
Definition at line 781 of file mathutils_Euler.c.
Referenced by Euler_CreatePyObject(), Euler_CreatePyObject_wrap(), Matrix_to_euler(), PyInit_mathutils(), and Quaternion_to_euler().