|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | QuaternionObject |
Macros | |
| #define | QuaternionObject_Check(v) |
| #define | QuaternionObject_CheckExact(v) |
Functions | |
| PyObject * | Quaternion_CreatePyObject (const float quat[4], PyTypeObject *base_type) |
| PyObject * | Quaternion_CreatePyObject_wrap (float quat[4], PyTypeObject *base_type) ATTR_NONNULL(1) |
| PyObject * | Quaternion_CreatePyObject_cb (PyObject *cb_user, unsigned char cb_type, unsigned char cb_subtype) |
Variables | |
| PyTypeObject | quaternion_Type |
| #define QuaternionObject_Check | ( | v | ) |
Definition at line 17 of file mathutils_Quaternion.hh.
Referenced by C_Matrix_LocRotScale(), mathutils_any_to_rotmat(), mathutils_array_parse(), mathutils_array_parse_alloc(), Quaternion_add(), Quaternion_imatmul(), Quaternion_imul(), Quaternion_matmul(), Quaternion_mul(), Quaternion_richcmpr(), and Quaternion_sub().
| #define QuaternionObject_CheckExact | ( | v | ) |
Definition at line 18 of file mathutils_Quaternion.hh.
|
nodiscard |
Definition at line 1932 of file mathutils_Quaternion.cc.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_NEW, copy_qt_qt(), 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_rotation_difference(), Quaternion_slerp(), Quaternion_sub(), Quaternion_to_swing_twist(), Quaternion_vectorcall(), Vector_rotation_difference(), and Vector_to_track_quat().
|
nodiscard |
Definition at line 1985 of file mathutils_Quaternion.cc.
References BLI_assert, Quaternion_CreatePyObject(), and self.
Referenced by pyrna_math_object_from_array().
|
nodiscard |
Definition at line 1968 of file mathutils_Quaternion.cc.
References BASE_MATH_FLAG_DEFAULT, BASE_MATH_FLAG_IS_WRAP, BASE_MATH_NEW, quaternion_Type, and self.
|
extern |
Definition at line 1870 of file mathutils_Quaternion.cc.
Referenced by PyInit_mathutils(), Quaternion_CreatePyObject(), and Quaternion_CreatePyObject_wrap().