Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | QuaternionObject |
Macros | |
#define | QuaternionObject_Check(v) PyObject_TypeCheck((v), &quaternion_Type) |
#define | QuaternionObject_CheckExact(v) (Py_TYPE(v) == &quaternion_Type) |
Functions | |
PyObject * | Quaternion_CreatePyObject (const float quat[4], PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT |
PyObject * | Quaternion_CreatePyObject_wrap (float quat[4], PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
PyObject * | Quaternion_CreatePyObject_cb (PyObject *cb_user, unsigned char cb_type, unsigned char cb_subtype) ATTR_WARN_UNUSED_RESULT |
Variables | |
PyTypeObject | quaternion_Type |
#define QuaternionObject_Check | ( | v | ) | PyObject_TypeCheck((v), &quaternion_Type) |
Definition at line 11 of file mathutils_Quaternion.h.
#define QuaternionObject_CheckExact | ( | v | ) | (Py_TYPE(v) == &quaternion_Type) |
Definition at line 12 of file mathutils_Quaternion.h.
PyObject* Quaternion_CreatePyObject | ( | const float | quat[4], |
PyTypeObject * | base_type | ||
) |
Definition at line 1748 of file mathutils_Quaternion.c.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_NEW, copy_qt_qt(), NULL, QUAT_SIZE, quaternion_Type, self, unit_qt(), and UNLIKELY.
Referenced by Euler_to_quaternion(), Matrix_decompose(), Matrix_to_quaternion(), pyrna_math_object_from_array(), quat_mul_float(), Quaternion_add(), Quaternion_copy(), Quaternion_CreatePyObject_cb(), Quaternion_cross(), Quaternion_matmul(), Quaternion_mul(), Quaternion_neg(), Quaternion_new(), Quaternion_rotation_difference(), Quaternion_slerp(), Quaternion_sub(), Quaternion_to_swing_twist(), Vector_rotation_difference(), and Vector_to_track_quat().
PyObject* Quaternion_CreatePyObject_cb | ( | PyObject * | cb_user, |
unsigned char | cb_type, | ||
unsigned char | cb_subtype | ||
) |
Definition at line 1801 of file mathutils_Quaternion.c.
References NULL, and Quaternion_CreatePyObject().
Referenced by pyrna_math_object_from_array().
PyObject* Quaternion_CreatePyObject_wrap | ( | float | quat[4], |
PyTypeObject * | base_type | ||
) |
Definition at line 1784 of file mathutils_Quaternion.c.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_FLAG_IS_WRAP, BASE_MATH_NEW, NULL, and quaternion_Type.
|
extern |
Definition at line 1690 of file mathutils_Quaternion.c.
Referenced by PyInit_mathutils(), Quaternion_CreatePyObject(), and Quaternion_CreatePyObject_wrap().