/dports/games/iortcw/iortcw-1.51c/SP/code/splines/ |
H A D | math_quaternion.h | 62 friend quat_t operator+( quat_t a, quat_t b ); 63 quat_t &operator+=( quat_t a ); 65 friend quat_t operator-( quat_t a, quat_t b ); 66 quat_t &operator-=( quat_t a ); 81 inline quat_t::quat_t() { in quat_t() function 112 inline void quat_t::operator=( quat_t a ) { 119 inline quat_t operator+( quat_t a, quat_t b ) { 123 inline quat_t& quat_t::operator+=( quat_t a ) { 132 inline quat_t operator-( quat_t a, quat_t b ) { 136 inline quat_t& quat_t::operator-=( quat_t a ) { [all …]
|
H A D | math_quaternion.cpp | 32 void toQuat( idVec3 &src, quat_t &dst ) { in toQuat() 39 void toQuat( angles_t &src, quat_t &dst ) { in toQuat() 46 void toQuat( mat3_t &src, quat_t &dst ) { in toQuat()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/splines/ |
H A D | math_quaternion.h | 62 friend quat_t operator+( quat_t a, quat_t b ); 63 quat_t &operator+=( quat_t a ); 65 friend quat_t operator-( quat_t a, quat_t b ); 66 quat_t &operator-=( quat_t a ); 81 inline quat_t::quat_t() { in quat_t() function 112 inline void quat_t::operator=( quat_t a ) { 119 inline quat_t operator+( quat_t a, quat_t b ) { 123 inline quat_t& quat_t::operator+=( quat_t a ) { 132 inline quat_t operator-( quat_t a, quat_t b ) { 136 inline quat_t& quat_t::operator-=( quat_t a ) { [all …]
|
H A D | math_quaternion.cpp | 32 void toQuat( idVec3 &src, quat_t &dst ) { in toQuat() 39 void toQuat( angles_t &src, quat_t &dst ) { in toQuat() 46 void toQuat( mat3_t &src, quat_t &dst ) { in toQuat()
|
/dports/games/gtkradiant/GPL/GtkRadiant/libs/splines/ |
H A D | math_quaternion.h | 55 friend quat_t operator+( quat_t a, quat_t b ); 56 quat_t &operator+=( quat_t a ); 58 friend quat_t operator-( quat_t a, quat_t b ); 59 quat_t &operator-=( quat_t a ); 74 inline quat_t::quat_t() { in quat_t() function 105 inline void quat_t::operator=( quat_t a ) { 112 inline quat_t operator+( quat_t a, quat_t b ) { 116 inline quat_t& quat_t::operator+=( quat_t a ) { 125 inline quat_t operator-( quat_t a, quat_t b ) { 129 inline quat_t& quat_t::operator-=( quat_t a ) { [all …]
|
H A D | math_quaternion.cpp | 25 void toQuat( idVec3 &src, quat_t &dst ) { in toQuat() 32 void toQuat( angles_t &src, quat_t &dst ) { in toQuat() 39 void toQuat( mat3_t &src, quat_t &dst ) { in toQuat()
|
/dports/games/netradiant/netradiant-20150621-src/libs/splines/ |
H A D | math_quaternion.h | 55 friend quat_t operator+( quat_t a, quat_t b ); 56 quat_t &operator+=( quat_t a ); 58 friend quat_t operator-( quat_t a, quat_t b ); 59 quat_t &operator-=( quat_t a ); 65 friend int operator==( quat_t a, quat_t b ); 74 inline quat_t::quat_t() { in quat_t() function 112 inline quat_t operator+( quat_t a, quat_t b ) { 116 inline quat_t& quat_t::operator+=( quat_t a ) { 125 inline quat_t operator-( quat_t a, quat_t b ) { 129 inline quat_t& quat_t::operator-=( quat_t a ) { [all …]
|
H A D | math_quaternion.cpp | 25 void toQuat( idVec3 &src, quat_t &dst ) { in toQuat() 32 void toQuat( angles_t &src, quat_t &dst ) { in toQuat() 39 void toQuat( mat3_t &src, quat_t &dst ) { in toQuat()
|
/dports/games/egl/egl-0.3.1_9/shared/ |
H A D | m_quat.c | 26 quat_t quatIdentity = { 43 void Quat_ConcatTransforms (quat_t q1, vec3_t v1, quat_t q2, vec3_t v2, quat_t q, vec3_t v) in Quat_ConcatTransforms() 56 void Quat_Copy (quat_t q1, quat_t q2) in Quat_Copy() 70 void Quat_Conjugate (quat_t q1, quat_t q2) in Quat_Conjugate() 84 void Quat_Identity (quat_t q) in Quat_Identity() 95 mat_t Quat_Inverse (quat_t q1, quat_t q2) in Quat_Inverse() 108 mat_t Quat_Normalize (quat_t q) in Quat_Normalize() 130 void Quat_Lerp (quat_t q1, quat_t q2, mat_t t, quat_t out) in Quat_Lerp() 132 quat_t p1; in Quat_Lerp() 169 void Quat_Matrix3 (quat_t q, mat3x3_t m) in Quat_Matrix3() [all …]
|
H A D | shared.h | 376 typedef float quat_t[4]; typedef 387 extern quat_t quatIdentity; 564 void Matrix3_Quat (mat3x3_t m, quat_t q); 589 void Quat_ConcatTransforms (quat_t q1, vec3_t v1, quat_t q2, vec3_t v2, quat_t q, vec3_t v); 590 void Quat_Copy (quat_t q1, quat_t q2); 591 void Quat_Conjugate (quat_t q1, quat_t q2); 592 void Quat_Identity (quat_t q); 593 mat_t Quat_Inverse (quat_t q1, quat_t q2); 594 mat_t Quat_Normalize (quat_t q); 595 void Quat_Lerp (quat_t q1, quat_t q2, mat_t t, quat_t out); [all …]
|
/dports/graphics/freeglut/freeglut-3.2.1/progs/demos/spaceball/ |
H A D | vmath.h | 14 typedef vec4_t quat_t; typedef 23 static INLINE quat_t quat_cons(float s, float x, float y, float z); 24 static INLINE vec3_t quat_vec(quat_t q); 25 static INLINE quat_t quat_mul(quat_t q1, quat_t q2); 26 static INLINE void quat_to_mat(mat4_t res, quat_t q); 27 quat_t quat_rotate(quat_t q, float angle, float x, float y, float z);
|
H A D | vmath.inl | 11 static INLINE vec3_t quat_vec(quat_t q) 26 static INLINE quat_t quat_cons(float s, float x, float y, float z) 28 quat_t q; 36 static INLINE quat_t quat_mul(quat_t q1, quat_t q2) 38 quat_t res; 49 static INLINE void quat_to_mat(mat4_t res, quat_t q)
|
H A D | vmath.c | 4 quat_t quat_rotate(quat_t q, float angle, float x, float y, float z) in quat_rotate() 6 quat_t rq; in quat_rotate()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/progs/demos/spaceball/ |
H A D | vmath.h | 14 typedef vec4_t quat_t; typedef 23 static INLINE quat_t quat_cons(float s, float x, float y, float z); 24 static INLINE vec3_t quat_vec(quat_t q); 25 static INLINE quat_t quat_mul(quat_t q1, quat_t q2); 26 static INLINE void quat_to_mat(mat4_t res, quat_t q); 27 quat_t quat_rotate(quat_t q, float angle, float x, float y, float z);
|
H A D | vmath.inl | 11 static INLINE vec3_t quat_vec(quat_t q) 26 static INLINE quat_t quat_cons(float s, float x, float y, float z) 28 quat_t q; 36 static INLINE quat_t quat_mul(quat_t q1, quat_t q2) 38 quat_t res; 49 static INLINE void quat_to_mat(mat4_t res, quat_t q)
|
H A D | vmath.c | 4 quat_t quat_rotate(quat_t q, float angle, float x, float y, float z) in quat_rotate() 6 quat_t rq; in quat_rotate()
|
/dports/games/quakeforge/quakeforge-0.7.2/include/QF/math/ |
H A D | quaternion.h | 165 void QuatMult (const quat_t q1, const quat_t q2, quat_t out); 166 void QuatMultVec (const quat_t q, const vec3_t v, vec3_t out); 167 void QuatInverse (const quat_t in, quat_t out); 168 void QuatExp (const quat_t a, quat_t b); 169 void QuatToMatrix (const quat_t q, vec_t *m, int homogenous, int vertical);
|
/dports/games/evq3/evq3/code/qcommon/ |
H A D | q_shared.h | 327 typedef vec_t quat_t[4]; // | x y z w | typedef 423 extern quat_t quatIdentity; 687 static ID_INLINE void QuatClear(quat_t q) in QuatClear() 706 static ID_INLINE void QuatCalcW(quat_t q) in QuatCalcW() 740 vec_t QuatNormalize(quat_t q); 757 void QuatMultiply0(quat_t qa, const quat_t qb); 760 void QuatMultiply1(const quat_t qa, const quat_t qb, quat_t qc); 763 void QuatMultiply2(const quat_t qa, const quat_t qb, quat_t qc); 766 void QuatMultiply3(const quat_t qa, const quat_t qb, quat_t qc); 769 void QuatMultiply4(const quat_t qa, const quat_t qb, quat_t qc); [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/ik/src/ |
H A D | quat.c | 127 quat_t result; in quat_rotate_vec() 128 quat_t conj; in quat_rotate_vec() 129 quat_t point; in quat_rotate_vec() 134 conj = *(quat_t*)q; in quat_rotate_vec() 137 result = *(quat_t*)q; in quat_rotate_vec() 147 quat_t unit = {{0, 0, 0, 1}}; in quat_normalise_sign()
|
H A D | node.c | 192 local_to_global_recursive(ik_node_t* node, vec3_t acc_pos, quat_t acc_rot) in local_to_global_recursive() 195 quat_t rotation; in local_to_global_recursive() 214 quat_t acc_rot = {{0, 0, 0, 1}}; in ik_node_local_to_global() 220 global_to_local_recursive(ik_node_t* node, vec3_t acc_pos, quat_t acc_rot) in global_to_local_recursive() 222 quat_t inv_rotation = acc_rot; in global_to_local_recursive() 239 quat_t acc_rot = {{0, 0, 0, 1}}; in ik_node_global_to_local()
|
H A D | solver_FABRIK.c | 22 quat_t rotation; 441 initial_to_global_recursive(ik_node_t* node, quat_t acc_rot) in initial_to_global_recursive() 443 quat_t rotation = node->original_rotation; in initial_to_global_recursive() 454 quat_t acc_rot = {{0, 0, 0, 1}}; in initial_rotation_to_global() 460 initial_to_local_recursive(ik_node_t* node, quat_t acc_rot) in initial_to_local_recursive() 462 quat_t inv_rotation = acc_rot; in initial_to_local_recursive() 474 quat_t acc_rot = {{0, 0, 0, 1}}; in initial_rotation_to_local()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/util/test/ |
H A D | test-quat.c | 37 quat_t quat, f, r, u, t; in test_rotation() 38 quat_t qf = {0, 1, 0, 0}; in test_rotation() 39 quat_t qr = {0, 0, -1, 0}; in test_rotation() 40 quat_t qu = {0, 0, 0, 1}; in test_rotation() 94 quat_t quat; in test_rotation2()
|
H A D | test-mat3.c | 62 quat_t rotation, r; in test_angle() 96 quat_t rotation; in test_transform() 126 quat_t rotation; in test_transform2() 160 quat_t rotation; in test_inverse()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/IK/ |
H A D | IKConverters.cpp | 44 quat_t QuatUrho2IK(const Quaternion& urho) in QuatUrho2IK() 46 quat_t ret; in QuatUrho2IK() 55 Quaternion QuatIK2Urho(const quat_t* ik) in QuatIK2Urho()
|
H A D | IKConverters.h | 38 quat_t QuatUrho2IK(const Quaternion& urho); 40 Quaternion QuatIK2Urho(const quat_t* ik);
|