Lines Matching refs:qB
116 const PVRTQUATERNIONx &qB, in PVRTMatrixQuaternionSlerpX() argument
133 fCosine = PVRTXMUL(qA.w, qB.w) + in PVRTMatrixQuaternionSlerpX()
134 PVRTXMUL(qA.x, qB.x) + PVRTXMUL(qA.y, qB.y) + PVRTXMUL(qA.z, qB.z); in PVRTMatrixQuaternionSlerpX()
153 qi.x = -qB.x; in PVRTMatrixQuaternionSlerpX()
154 qi.y = -qB.y; in PVRTMatrixQuaternionSlerpX()
155 qi.z = -qB.z; in PVRTMatrixQuaternionSlerpX()
156 qi.w = -qB.w; in PVRTMatrixQuaternionSlerpX()
177 qOut.x = PVRTXMUL(A, qA.x) + PVRTXMUL(B, qB.x); in PVRTMatrixQuaternionSlerpX()
178 qOut.y = PVRTXMUL(A, qA.y) + PVRTXMUL(B, qB.y); in PVRTMatrixQuaternionSlerpX()
179 qOut.z = PVRTXMUL(A, qA.z) + PVRTXMUL(B, qB.z); in PVRTMatrixQuaternionSlerpX()
180 qOut.w = PVRTXMUL(A, qA.w) + PVRTXMUL(B, qB.w); in PVRTMatrixQuaternionSlerpX()
287 const PVRTQUATERNIONx &qB) in PVRTMatrixQuaternionMultiplyX() argument
292 qOut.w = PVRTXMUL(qA.w, qB.w) - in PVRTMatrixQuaternionMultiplyX()
293 (PVRTXMUL(qA.x, qB.x) + PVRTXMUL(qA.y, qB.y) + PVRTXMUL(qA.z, qB.z)); in PVRTMatrixQuaternionMultiplyX()
296 CrossProduct.x = PVRTXMUL(qA.y, qB.z) - PVRTXMUL(qA.z, qB.y); in PVRTMatrixQuaternionMultiplyX()
297 CrossProduct.y = PVRTXMUL(qA.z, qB.x) - PVRTXMUL(qA.x, qB.z); in PVRTMatrixQuaternionMultiplyX()
298 CrossProduct.z = PVRTXMUL(qA.x, qB.y) - PVRTXMUL(qA.y, qB.x); in PVRTMatrixQuaternionMultiplyX()
301 qOut.x = PVRTXMUL(qA.w, qB.x) + PVRTXMUL(qB.w, qA.x) + CrossProduct.x; in PVRTMatrixQuaternionMultiplyX()
302 qOut.y = PVRTXMUL(qA.w, qB.y) + PVRTXMUL(qB.w, qA.y) + CrossProduct.y; in PVRTMatrixQuaternionMultiplyX()
303 qOut.z = PVRTXMUL(qA.w, qB.z) + PVRTXMUL(qB.w, qA.z) + CrossProduct.z; in PVRTMatrixQuaternionMultiplyX()