Lines Matching refs:qA
111 const PVRTQUATERNIONf &qA, in PVRTMatrixQuaternionSlerpF() argument
129 fCosine = qA.w*qB.w + qA.x*qB.x + qA.y*qB.y + qA.z*qB.z; in PVRTMatrixQuaternionSlerpF()
153 PVRTMatrixQuaternionSlerpF(qOut, qA, qi, t); in PVRTMatrixQuaternionSlerpF()
163 qOut = qA; 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()
275 const PVRTQUATERNIONf &qA, 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()