Home
last modified time | relevance | path

Searched refs:q1 (Results 1 – 4 of 4) sorted by relevance

/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Quaternion.ipp24 QUATAdd(QUAT* pOut, const QUAT* q1, const QUAT* q2)
27 NN_NULL_ASSERT( q1 );
30 pOut->x = q1->x + q2->x;
31 pOut->y = q1->y + q2->y;
32 pOut->z = q1->z + q2->z;
33 pOut->w = q1->w + q2->w;
39 QUATDivide(QUAT* pOut, const QUAT* q1, const QUAT* q2)
44 NN_NULL_ASSERT( q1 );
48 QUATMult(pOut, &qtmp, q1);
54 QUATDot(const QUAT* q1, const QUAT* q2)
[all …]
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Quaternion.h44 NN_MATH_INLINE QUAT* QUATAdd(QUAT* pOut, const QUAT* q1, const QUAT* q2);
56 NN_MATH_INLINE QUAT* QUATDivide(QUAT* pOut, const QUAT* q1, const QUAT* q2);
66 NN_MATH_INLINE f32 QUATDot(const QUAT* q1, const QUAT* q2);
100 NN_MATH_INLINE QUAT* QUATLerp(QUAT* pOut, const QUAT* q1, const QUAT* q2, f32 t);
133 NN_FORCE_INLINE QUAT* QUATMult(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2);
167 NN_MATH_INLINE QUAT* QUATSlerp(QUAT* pOut, const QUAT* q1, const QUAT* q2, f32 t);
193 NN_MATH_INLINE QUAT* QUATSub(QUAT* pOut, const QUAT* q1, const QUAT* q2);
353 QUATMult(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2) in QUATMult() argument
357 return ARMv6::QUATMultC( pOut, q1, q2); in QUATMult()
359 return ARMv6::QUATMultC_FAST( pOut, q1, q2); in QUATMult()
[all …]
/CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/
Dmath_Quaternion.ipp39 QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2)
45 NN_NULL_ASSERT( q1 );
48 if ( q1 == pOut || q2 == pOut )
57 pDst->w = q1->w * q2->w - q1->x * q2->x - q1->y * q2->y - q1->z * q2->z;
58 pDst->x = q1->w * q2->x + q1->x * q2->w + q1->y * q2->z - q1->z * q2->y;
59 pDst->y = q1->w * q2->y + q1->y * q2->w + q1->z * q2->x - q1->x * q2->z;
60 pDst->z = q1->w * q2->z + q1->z * q2->w + q1->x * q2->y - q1->y * q2->x;
70 QUATMultC_FAST(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2)
76 q1x = q1->x;
77 q1y = q1->y;
[all …]
/CTR-SDK-4.2.5/include/nn/math/ARMv6/
Dmath_Quaternion.h25 NN_MATH_INLINE QUAT* QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2);
26 NN_MATH_INLINE QUAT* QUATMultC_FAST(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q…
32 QUAT* QUATMultAsm(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2);