• Home
  • Raw
  • Download

Lines Matching refs:mOut

52 void PVRTMatrixIdentityX(PVRTMATRIXx &mOut)  in PVRTMatrixIdentityX()  argument
54mOut.f[ 0]=PVRTF2X(1.0f); mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=PVRTF2X(0.0f); mOut.f[12]=PVRTF2X(0… in PVRTMatrixIdentityX()
55mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=PVRTF2X(1.0f); mOut.f[ 9]=PVRTF2X(0.0f); mOut.f[13]=PVRTF2X(0… in PVRTMatrixIdentityX()
56mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=PVRTF2X(1.0f); mOut.f[14]=PVRTF2X(0… in PVRTMatrixIdentityX()
57mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X(1… in PVRTMatrixIdentityX()
73 PVRTMATRIXx &mOut, in PVRTMatrixMultiplyX() argument
101 mOut = mRet; in PVRTMatrixMultiplyX()
113 PVRTMATRIXx &mOut, in PVRTMatrixTranslationX() argument
118 mOut.f[ 0]=PVRTF2X(1.0f); mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=PVRTF2X(0.0f); mOut.f[12]=fX; in PVRTMatrixTranslationX()
119 mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=PVRTF2X(1.0f); mOut.f[ 9]=PVRTF2X(0.0f); mOut.f[13]=fY; in PVRTMatrixTranslationX()
120 mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=PVRTF2X(1.0f); mOut.f[14]=fZ; in PVRTMatrixTranslationX()
121mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X(1… in PVRTMatrixTranslationX()
133 PVRTMATRIXx &mOut, in PVRTMatrixScalingX() argument
138 mOut.f[ 0]=fX; mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=PVRTF2X(0.0f); mOut.f[12]=PVRTF2X(0.0f); in PVRTMatrixScalingX()
139 mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=fY; mOut.f[ 9]=PVRTF2X(0.0f); mOut.f[13]=PVRTF2X(0.0f); in PVRTMatrixScalingX()
140 mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=fZ; mOut.f[14]=PVRTF2X(0.0f); in PVRTMatrixScalingX()
141mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X(1… in PVRTMatrixScalingX()
151 PVRTMATRIXx &mOut, in PVRTMatrixRotationXX() argument
166mOut.f[ 0]=PVRTF2X(1.0f); mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=PVRTF2X(0.0f); mOut.f[12]=PVRTF2X… in PVRTMatrixRotationXX()
167 mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=fCosine; mOut.f[ 9]=fSine; mOut.f[13]=PVRTF2X(0.0f); in PVRTMatrixRotationXX()
168 mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=-fSine; mOut.f[10]=fCosine; mOut.f[14]=PVRTF2X(0.0f); in PVRTMatrixRotationXX()
169mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X… in PVRTMatrixRotationXX()
179 PVRTMATRIXx &mOut, in PVRTMatrixRotationYX() argument
194 mOut.f[ 0]=fCosine; mOut.f[ 4]=PVRTF2X(0.0f); mOut.f[ 8]=-fSine; mOut.f[12]=PVRTF2X(0.0f); in PVRTMatrixRotationYX()
195mOut.f[ 1]=PVRTF2X(0.0f); mOut.f[ 5]=PVRTF2X(1.0f); mOut.f[ 9]=PVRTF2X(0.0f); mOut.f[13]=PVRTF2X… in PVRTMatrixRotationYX()
196 mOut.f[ 2]=fSine; mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=fCosine; mOut.f[14]=PVRTF2X(0.0f); in PVRTMatrixRotationYX()
197mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X… in PVRTMatrixRotationYX()
207 PVRTMATRIXx &mOut, in PVRTMatrixRotationZX() argument
222 mOut.f[ 0]=fCosine; mOut.f[ 4]=fSine; mOut.f[ 8]=PVRTF2X(0.0f); mOut.f[12]=PVRTF2X(0.0f); in PVRTMatrixRotationZX()
223 mOut.f[ 1]=-fSine; mOut.f[ 5]=fCosine; mOut.f[ 9]=PVRTF2X(0.0f); mOut.f[13]=PVRTF2X(0.0f); in PVRTMatrixRotationZX()
224mOut.f[ 2]=PVRTF2X(0.0f); mOut.f[ 6]=PVRTF2X(0.0f); mOut.f[10]=PVRTF2X(1.0f); mOut.f[14]=PVRTF2X… in PVRTMatrixRotationZX()
225mOut.f[ 3]=PVRTF2X(0.0f); mOut.f[ 7]=PVRTF2X(0.0f); mOut.f[11]=PVRTF2X(0.0f); mOut.f[15]=PVRTF2X… in PVRTMatrixRotationZX()
235 PVRTMATRIXx &mOut, in PVRTMatrixTransposeX() argument
245 mOut = mTmp; in PVRTMatrixTransposeX()
259 PVRTMATRIXx &mOut, in PVRTMatrixInverseX() argument
319 mOut = mDummyMatrix; in PVRTMatrixInverseX()
332 PVRTMATRIXx &mOut, in PVRTMatrixInverseExX() argument
361 mOut = mTmp; in PVRTMatrixInverseExX()
373 PVRTMATRIXx &mOut, in PVRTMatrixLookAtLHX() argument
390 mOut.f[ 0] = s.x; in PVRTMatrixLookAtLHX()
391 mOut.f[ 1] = u.x; in PVRTMatrixLookAtLHX()
392 mOut.f[ 2] = -f.x; in PVRTMatrixLookAtLHX()
393 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
395 mOut.f[ 4] = s.y; in PVRTMatrixLookAtLHX()
396 mOut.f[ 5] = u.y; in PVRTMatrixLookAtLHX()
397 mOut.f[ 6] = -f.y; in PVRTMatrixLookAtLHX()
398 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
400 mOut.f[ 8] = s.z; in PVRTMatrixLookAtLHX()
401 mOut.f[ 9] = u.z; in PVRTMatrixLookAtLHX()
402 mOut.f[10] = -f.z; in PVRTMatrixLookAtLHX()
403 mOut.f[11] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
405 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
406 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
407 mOut.f[14] = PVRTF2X(0.0f); in PVRTMatrixLookAtLHX()
408 mOut.f[15] = PVRTF2X(1.0f); in PVRTMatrixLookAtLHX()
411 PVRTMatrixMultiplyX(mOut, t, mOut); in PVRTMatrixLookAtLHX()
423 PVRTMATRIXx &mOut, in PVRTMatrixLookAtRHX() argument
440 mOut.f[ 0] = s.x; in PVRTMatrixLookAtRHX()
441 mOut.f[ 1] = u.x; in PVRTMatrixLookAtRHX()
442 mOut.f[ 2] = -f.x; in PVRTMatrixLookAtRHX()
443 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
445 mOut.f[ 4] = s.y; in PVRTMatrixLookAtRHX()
446 mOut.f[ 5] = u.y; in PVRTMatrixLookAtRHX()
447 mOut.f[ 6] = -f.y; in PVRTMatrixLookAtRHX()
448 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
450 mOut.f[ 8] = s.z; in PVRTMatrixLookAtRHX()
451 mOut.f[ 9] = u.z; in PVRTMatrixLookAtRHX()
452 mOut.f[10] = -f.z; in PVRTMatrixLookAtRHX()
453 mOut.f[11] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
455 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
456 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
457 mOut.f[14] = PVRTF2X(0.0f); in PVRTMatrixLookAtRHX()
458 mOut.f[15] = PVRTF2X(1.0f); in PVRTMatrixLookAtRHX()
461 PVRTMatrixMultiplyX(mOut, t, mOut); in PVRTMatrixLookAtRHX()
475 PVRTMATRIXx &mOut, in PVRTMatrixPerspectiveFovLHX() argument
491 mOut.f[ 0] = PVRTXDIV(f, fRealAspect); in PVRTMatrixPerspectiveFovLHX()
492 mOut.f[ 1] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
493 mOut.f[ 2] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
494 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
496 mOut.f[ 4] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
497 mOut.f[ 5] = f; in PVRTMatrixPerspectiveFovLHX()
498 mOut.f[ 6] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
499 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
501 mOut.f[ 8] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
502 mOut.f[ 9] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
503 mOut.f[10] = PVRTXDIV(fFar, fFar - fNear); in PVRTMatrixPerspectiveFovLHX()
504 mOut.f[11] = PVRTF2X(1.0f); in PVRTMatrixPerspectiveFovLHX()
506 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
507 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
508 mOut.f[14] = -PVRTXMUL(PVRTXDIV(fFar, fFar - fNear), fNear); in PVRTMatrixPerspectiveFovLHX()
509 mOut.f[15] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovLHX()
513 PVRTMATRIXx mRotation, mTemp = mOut; in PVRTMatrixPerspectiveFovLHX()
515 PVRTMatrixMultiplyX(mOut, mTemp, mRotation); in PVRTMatrixPerspectiveFovLHX()
530 PVRTMATRIXx &mOut, in PVRTMatrixPerspectiveFovRHX() argument
546 mOut.f[ 0] = PVRTXDIV(f, fCorrectAspect); in PVRTMatrixPerspectiveFovRHX()
547 mOut.f[ 1] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
548 mOut.f[ 2] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
549 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
551 mOut.f[ 4] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
552 mOut.f[ 5] = f; in PVRTMatrixPerspectiveFovRHX()
553 mOut.f[ 6] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
554 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
556 mOut.f[ 8] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
557 mOut.f[ 9] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
558 mOut.f[10] = PVRTXDIV(fFar + fNear, fNear - fFar); in PVRTMatrixPerspectiveFovRHX()
559 mOut.f[11] = PVRTF2X(-1.0f); in PVRTMatrixPerspectiveFovRHX()
561 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
562 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
563 mOut.f[14] = PVRTXMUL(PVRTXDIV(fFar, fNear - fFar), fNear) << 1; // Cheap 2x in PVRTMatrixPerspectiveFovRHX()
564 mOut.f[15] = PVRTF2X(0.0f); in PVRTMatrixPerspectiveFovRHX()
568 PVRTMATRIXx mRotation, mTemp = mOut; in PVRTMatrixPerspectiveFovRHX()
570 PVRTMatrixMultiplyX(mOut, mTemp, mRotation); in PVRTMatrixPerspectiveFovRHX()
585 PVRTMATRIXx &mOut, in PVRTMatrixOrthoLHX() argument
599 mOut.f[ 0] = PVRTXDIV(PVRTF2X(2.0f), fCorrectW); in PVRTMatrixOrthoLHX()
600 mOut.f[ 1] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
601 mOut.f[ 2] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
602 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
604 mOut.f[ 4] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
605 mOut.f[ 5] = PVRTXDIV(PVRTF2X(2.0f), fCorrectH); in PVRTMatrixOrthoLHX()
606 mOut.f[ 6] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
607 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
609 mOut.f[ 8] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
610 mOut.f[ 9] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
611 mOut.f[10] = PVRTXDIV(PVRTF2X(1.0f), zf - zn); in PVRTMatrixOrthoLHX()
612 mOut.f[11] = PVRTXDIV(zn, zn - zf); in PVRTMatrixOrthoLHX()
614 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
615 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
616 mOut.f[14] = PVRTF2X(0.0f); in PVRTMatrixOrthoLHX()
617 mOut.f[15] = PVRTF2X(1.0f); in PVRTMatrixOrthoLHX()
621 PVRTMATRIXx mRotation, mTemp = mOut; in PVRTMatrixOrthoLHX()
623 PVRTMatrixMultiplyX(mOut, mRotation, mTemp); in PVRTMatrixOrthoLHX()
638 PVRTMATRIXx &mOut, in PVRTMatrixOrthoRHX() argument
652 mOut.f[ 0] = PVRTXDIV(PVRTF2X(2.0f), fCorrectW); in PVRTMatrixOrthoRHX()
653 mOut.f[ 1] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
654 mOut.f[ 2] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
655 mOut.f[ 3] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
657 mOut.f[ 4] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
658 mOut.f[ 5] = PVRTXDIV(PVRTF2X(2.0f), fCorrectH); in PVRTMatrixOrthoRHX()
659 mOut.f[ 6] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
660 mOut.f[ 7] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
662 mOut.f[ 8] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
663 mOut.f[ 9] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
664 mOut.f[10] = PVRTXDIV(PVRTF2X(1.0f), zn - zf); in PVRTMatrixOrthoRHX()
665 mOut.f[11] = PVRTXDIV(zn, zn - zf); in PVRTMatrixOrthoRHX()
667 mOut.f[12] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
668 mOut.f[13] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
669 mOut.f[14] = PVRTF2X(0.0f); in PVRTMatrixOrthoRHX()
670 mOut.f[15] = PVRTF2X(1.0f); in PVRTMatrixOrthoRHX()
674 PVRTMATRIXx mRotation, mTemp = mOut; in PVRTMatrixOrthoRHX()
676 PVRTMatrixMultiplyX(mOut, mRotation, mTemp); in PVRTMatrixOrthoRHX()