Lines Matching refs:pQ
228 const PVRTQUATERNIONf *pQ; in PVRTMatrixRotationQuaternionF() local
238 pQ = &qInv; in PVRTMatrixRotationQuaternionF()
240 pQ = &quat; in PVRTMatrixRotationQuaternionF()
244 mOut.f[0] = 1.0f - 2.0f*pQ->y*pQ->y - 2.0f*pQ->z*pQ->z; in PVRTMatrixRotationQuaternionF()
245 mOut.f[1] = 2.0f*pQ->x*pQ->y - 2.0f*pQ->z*pQ->w; in PVRTMatrixRotationQuaternionF()
246 mOut.f[2] = 2.0f*pQ->x*pQ->z + 2.0f*pQ->y*pQ->w; in PVRTMatrixRotationQuaternionF()
249 mOut.f[4] = 2.0f*pQ->x*pQ->y + 2.0f*pQ->z*pQ->w; in PVRTMatrixRotationQuaternionF()
250 mOut.f[5] = 1.0f - 2.0f*pQ->x*pQ->x - 2.0f*pQ->z*pQ->z; in PVRTMatrixRotationQuaternionF()
251 mOut.f[6] = 2.0f*pQ->y*pQ->z - 2.0f*pQ->x*pQ->w; in PVRTMatrixRotationQuaternionF()
254 mOut.f[8] = 2.0f*pQ->x*pQ->z - 2*pQ->y*pQ->w; in PVRTMatrixRotationQuaternionF()
255 mOut.f[9] = 2.0f*pQ->y*pQ->z + 2.0f*pQ->x*pQ->w; in PVRTMatrixRotationQuaternionF()
256 mOut.f[10] = 1.0f - 2.0f*pQ->x*pQ->x - 2*pQ->y*pQ->y; in PVRTMatrixRotationQuaternionF()