Searched refs:q2 (Results 1 – 4 of 4) sorted by relevance
| /CTR-SDK-4.2.8-20130828/include/nn/math/inline/ |
| D | math_Quaternion.ipp | 24 QUATAdd(QUAT* pOut, const QUAT* q1, const QUAT* q2) 28 NN_NULL_ASSERT( q2 ); 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) 45 NN_NULL_ASSERT( q2 ); 47 QUATInverse(&qtmp, q2); 54 QUATDot(const QUAT* q1, const QUAT* q2) [all …]
|
| /CTR-SDK-4.2.8-20130828/include/nn/math/ |
| D | math_Quaternion.h | 44 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.8-20130828/include/nn/math/ARMv6/inline/ |
| D | math_Quaternion.ipp | 39 QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2) 46 NN_NULL_ASSERT( q2 ); 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) 81 q2x = q2->x; 82 q2y = q2->y; [all …]
|
| /CTR-SDK-4.2.8-20130828/include/nn/math/ARMv6/ |
| D | math_Quaternion.h | 25 NN_MATH_INLINE QUAT* QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2); 26 …MATH_INLINE QUAT* QUATMultC_FAST(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2); 32 QUAT* QUATMultAsm(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2);
|