• Home
  • Raw
  • Download

Lines Matching refs:PVRTF2X

35 	qOut.x = PVRTF2X(0.0f);  in PVRTMatrixQuaternionIdentityX()
36 qOut.y = PVRTF2X(0.0f); in PVRTMatrixQuaternionIdentityX()
37 qOut.z = PVRTF2X(0.0f); in PVRTMatrixQuaternionIdentityX()
38 qOut.w = PVRTF2X(1.0f); in PVRTMatrixQuaternionIdentityX()
87 temp = PVRTF2X(1.0f) - PVRTXMUL(fCosAngle, fCosAngle); in PVRTMatrixQuaternionToAxisAngleX()
88 fAngle = PVRTXMUL(PVRTXACOS(fCosAngle), PVRTF2X(2.0f)); in PVRTMatrixQuaternionToAxisAngleX()
89 fSinAngle = PVRTF2X(((float)sqrt(PVRTX2F(temp)))); in PVRTMatrixQuaternionToAxisAngleX()
92 if (PVRTABS(fSinAngle)<PVRTF2X(0.0005f)) in PVRTMatrixQuaternionToAxisAngleX()
94 fSinAngle = PVRTF2X(1.0f); in PVRTMatrixQuaternionToAxisAngleX()
122 if (t<PVRTF2X(0.0f) || t>PVRTF2X(1.0f)) in PVRTMatrixQuaternionSlerpX()
125 qOut.x = PVRTF2X(0.0f); in PVRTMatrixQuaternionSlerpX()
126 qOut.y = PVRTF2X(0.0f); in PVRTMatrixQuaternionSlerpX()
127 qOut.z = PVRTF2X(0.0f); in PVRTMatrixQuaternionSlerpX()
128 qOut.w = PVRTF2X(1.0f); in PVRTMatrixQuaternionSlerpX()
136 if(fCosine < PVRTF2X(0.0f)) in PVRTMatrixQuaternionSlerpX()
162 fCosine = PVRT_MIN(fCosine, PVRTF2X(1.0f)); in PVRTMatrixQuaternionSlerpX()
166 if (fAngle==PVRTF2X(0.0f)) in PVRTMatrixQuaternionSlerpX()
173 A = PVRTXDIV(PVRTXSIN(PVRTXMUL((PVRTF2X(1.0f)-t), fAngle)), PVRTXSIN(fAngle)); in PVRTMatrixQuaternionSlerpX()
207 f = PVRTXDIV(PVRTF2X(1.0f), PVRTF2X(sqrt(PVRTX2F(f)))); in PVRTMatrixQuaternionNormalizeX()
254 mOut.f[0] = PVRTF2X(1.0f) - (PVRTXMUL(pQ->y, pQ->y)<<1) - (PVRTXMUL(pQ->z, pQ->z)<<1); in PVRTMatrixRotationQuaternionX()
257 mOut.f[3] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
260 mOut.f[5] = PVRTF2X(1.0f) - (PVRTXMUL(pQ->x, pQ->x)<<1) - (PVRTXMUL(pQ->z, pQ->z)<<1); in PVRTMatrixRotationQuaternionX()
262 mOut.f[7] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
266 mOut.f[10] = PVRTF2X(1.0f) - (PVRTXMUL(pQ->x, pQ->x)<<1) - (PVRTXMUL(pQ->y, pQ->y)<<1); in PVRTMatrixRotationQuaternionX()
267 mOut.f[11] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
269 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
270 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
271 mOut.f[14] = PVRTF2X(0.0f); in PVRTMatrixRotationQuaternionX()
272 mOut.f[15] = PVRTF2X(1.0f); in PVRTMatrixRotationQuaternionX()