Lines Matching refs:qB
112 const PVRTQUATERNIONf &qB, in PVRTMatrixQuaternionSlerpF() argument
129 fCosine = qA.w*qB.w + qA.x*qB.x + qA.y*qB.y + qA.z*qB.z; in PVRTMatrixQuaternionSlerpF()
148 qi.x = -qB.x; in PVRTMatrixQuaternionSlerpF()
149 qi.y = -qB.y; in PVRTMatrixQuaternionSlerpF()
150 qi.z = -qB.z; in PVRTMatrixQuaternionSlerpF()
151 qi.w = -qB.w; in PVRTMatrixQuaternionSlerpF()
172 qOut.x = A * qA.x + B * qB.x; in PVRTMatrixQuaternionSlerpF()
173 qOut.y = A * qA.y + B * qB.y; in PVRTMatrixQuaternionSlerpF()
174 qOut.z = A * qA.z + B * qB.z; in PVRTMatrixQuaternionSlerpF()
175 qOut.w = A * qA.w + B * qB.w; in PVRTMatrixQuaternionSlerpF()
276 const PVRTQUATERNIONf &qB) in PVRTMatrixQuaternionMultiplyF() argument
282 qRet.w = (qA.w*qB.w) - (qA.x*qB.x + qA.y*qB.y + qA.z*qB.z); in PVRTMatrixQuaternionMultiplyF()
285 CrossProduct.x = qA.y*qB.z - qA.z*qB.y; in PVRTMatrixQuaternionMultiplyF()
286 CrossProduct.y = qA.z*qB.x - qA.x*qB.z; in PVRTMatrixQuaternionMultiplyF()
287 CrossProduct.z = qA.x*qB.y - qA.y*qB.x; in PVRTMatrixQuaternionMultiplyF()
290 qRet.x = (qA.w * qB.x) + (qB.w * qA.x) + CrossProduct.x; in PVRTMatrixQuaternionMultiplyF()
291 qRet.y = (qA.w * qB.y) + (qB.w * qA.y) + CrossProduct.y; in PVRTMatrixQuaternionMultiplyF()
292 qRet.z = (qA.w * qB.z) + (qB.w * qA.z) + CrossProduct.z; in PVRTMatrixQuaternionMultiplyF()