Lines Matching refs:quat
193 void PVRTMatrixQuaternionNormalizeX(PVRTQUATERNIONx &quat) in PVRTMatrixQuaternionNormalizeX() argument
199 n = PVRTABS(quat.w) + PVRTABS(quat.x) + PVRTABS(quat.y) + PVRTABS(quat.z); in PVRTMatrixQuaternionNormalizeX()
200 qTemp.w = PVRTXDIV(quat.w, n); in PVRTMatrixQuaternionNormalizeX()
201 qTemp.x = PVRTXDIV(quat.x, n); in PVRTMatrixQuaternionNormalizeX()
202 qTemp.y = PVRTXDIV(quat.y, n); in PVRTMatrixQuaternionNormalizeX()
203 qTemp.z = PVRTXDIV(quat.z, n); in PVRTMatrixQuaternionNormalizeX()
210 quat.x = PVRTXMUL(qTemp.x, f); in PVRTMatrixQuaternionNormalizeX()
211 quat.y = PVRTXMUL(qTemp.y, f); in PVRTMatrixQuaternionNormalizeX()
212 quat.z = PVRTXMUL(qTemp.z, f); in PVRTMatrixQuaternionNormalizeX()
213 quat.w = PVRTXMUL(qTemp.w, f); in PVRTMatrixQuaternionNormalizeX()
236 const PVRTQUATERNIONx &quat) in PVRTMatrixRotationQuaternionX() argument
243 qInv.x = -quat.x; in PVRTMatrixRotationQuaternionX()
244 qInv.y = -quat.y; in PVRTMatrixRotationQuaternionX()
245 qInv.z = -quat.z; in PVRTMatrixRotationQuaternionX()
246 qInv.w = quat.w; in PVRTMatrixRotationQuaternionX()
250 pQ = &quat; in PVRTMatrixRotationQuaternionX()