Lines Matching refs: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;