Lines Matching refs:q2
32 @param[out] pOut 計算結果を受け取るバッファへのポインタ。q1, q2 と同じクォータニオンを指していても構いません。
34 @param[in] q2 右辺値へのポインタ
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;
83 q2z = q2->z;
84 q2w = q2->w;