• Home
  • Raw
  • Download

Lines Matching refs:mOut

48 void PVRTMatrixIdentityF(PVRTMATRIXf &mOut)  in PVRTMatrixIdentityF()  argument
50 mOut.f[ 0]=1.0f; mOut.f[ 4]=0.0f; mOut.f[ 8]=0.0f; mOut.f[12]=0.0f; in PVRTMatrixIdentityF()
51 mOut.f[ 1]=0.0f; mOut.f[ 5]=1.0f; mOut.f[ 9]=0.0f; mOut.f[13]=0.0f; in PVRTMatrixIdentityF()
52 mOut.f[ 2]=0.0f; mOut.f[ 6]=0.0f; mOut.f[10]=1.0f; mOut.f[14]=0.0f; in PVRTMatrixIdentityF()
53 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixIdentityF()
67 PVRTMATRIXf &mOut, in PVRTMatrixMultiplyF() argument
95 mOut = mRet; in PVRTMatrixMultiplyF()
108 PVRTMATRIXf &mOut, in PVRTMatrixTranslationF() argument
113 mOut.f[ 0]=1.0f; mOut.f[ 4]=0.0f; mOut.f[ 8]=0.0f; mOut.f[12]=fX; in PVRTMatrixTranslationF()
114 mOut.f[ 1]=0.0f; mOut.f[ 5]=1.0f; mOut.f[ 9]=0.0f; mOut.f[13]=fY; in PVRTMatrixTranslationF()
115 mOut.f[ 2]=0.0f; mOut.f[ 6]=0.0f; mOut.f[10]=1.0f; mOut.f[14]=fZ; in PVRTMatrixTranslationF()
116 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixTranslationF()
128 PVRTMATRIXf &mOut, in PVRTMatrixScalingF() argument
133 mOut.f[ 0]=fX; mOut.f[ 4]=0.0f; mOut.f[ 8]=0.0f; mOut.f[12]=0.0f; in PVRTMatrixScalingF()
134 mOut.f[ 1]=0.0f; mOut.f[ 5]=fY; mOut.f[ 9]=0.0f; mOut.f[13]=0.0f; in PVRTMatrixScalingF()
135 mOut.f[ 2]=0.0f; mOut.f[ 6]=0.0f; mOut.f[10]=fZ; mOut.f[14]=0.0f; in PVRTMatrixScalingF()
136 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixScalingF()
146 PVRTMATRIXf &mOut, in PVRTMatrixRotationXF() argument
161 mOut.f[ 0]=1.0f; mOut.f[ 4]=0.0f; mOut.f[ 8]=0.0f; mOut.f[12]=0.0f; in PVRTMatrixRotationXF()
162 mOut.f[ 1]=0.0f; mOut.f[ 5]=fCosine; mOut.f[ 9]=fSine; mOut.f[13]=0.0f; in PVRTMatrixRotationXF()
163 mOut.f[ 2]=0.0f; mOut.f[ 6]=-fSine; mOut.f[10]=fCosine; mOut.f[14]=0.0f; in PVRTMatrixRotationXF()
164 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixRotationXF()
174 PVRTMATRIXf &mOut, in PVRTMatrixRotationYF() argument
189 mOut.f[ 0]=fCosine; mOut.f[ 4]=0.0f; mOut.f[ 8]=-fSine; mOut.f[12]=0.0f; in PVRTMatrixRotationYF()
190 mOut.f[ 1]=0.0f; mOut.f[ 5]=1.0f; mOut.f[ 9]=0.0f; mOut.f[13]=0.0f; in PVRTMatrixRotationYF()
191 mOut.f[ 2]=fSine; mOut.f[ 6]=0.0f; mOut.f[10]=fCosine; mOut.f[14]=0.0f; in PVRTMatrixRotationYF()
192 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixRotationYF()
202 PVRTMATRIXf &mOut, in PVRTMatrixRotationZF() argument
217 mOut.f[ 0]=fCosine; mOut.f[ 4]=fSine; mOut.f[ 8]=0.0f; mOut.f[12]=0.0f; in PVRTMatrixRotationZF()
218 mOut.f[ 1]=-fSine; mOut.f[ 5]=fCosine; mOut.f[ 9]=0.0f; mOut.f[13]=0.0f; in PVRTMatrixRotationZF()
219 mOut.f[ 2]=0.0f; mOut.f[ 6]=0.0f; mOut.f[10]=1.0f; mOut.f[14]=0.0f; in PVRTMatrixRotationZF()
220 mOut.f[ 3]=0.0f; mOut.f[ 7]=0.0f; mOut.f[11]=0.0f; mOut.f[15]=1.0f; in PVRTMatrixRotationZF()
230 PVRTMATRIXf &mOut, in PVRTMatrixTransposeF() argument
240 mOut = mTmp; in PVRTMatrixTransposeF()
254 PVRTMATRIXf &mOut, in PVRTMatrixInverseF() argument
313 mOut = mDummyMatrix; in PVRTMatrixInverseF()
326 PVRTMATRIXf &mOut, in PVRTMatrixInverseExF() argument
355 mOut = mTmp; in PVRTMatrixInverseExF()
367 PVRTMATRIXf &mOut, in PVRTMatrixLookAtLHF() argument
385 mOut.f[ 0] = s.x; in PVRTMatrixLookAtLHF()
386 mOut.f[ 1] = u.x; in PVRTMatrixLookAtLHF()
387 mOut.f[ 2] = -f.x; in PVRTMatrixLookAtLHF()
388 mOut.f[ 3] = 0; in PVRTMatrixLookAtLHF()
390 mOut.f[ 4] = s.y; in PVRTMatrixLookAtLHF()
391 mOut.f[ 5] = u.y; in PVRTMatrixLookAtLHF()
392 mOut.f[ 6] = -f.y; in PVRTMatrixLookAtLHF()
393 mOut.f[ 7] = 0; in PVRTMatrixLookAtLHF()
395 mOut.f[ 8] = s.z; in PVRTMatrixLookAtLHF()
396 mOut.f[ 9] = u.z; in PVRTMatrixLookAtLHF()
397 mOut.f[10] = -f.z; in PVRTMatrixLookAtLHF()
398 mOut.f[11] = 0; in PVRTMatrixLookAtLHF()
400 mOut.f[12] = 0; in PVRTMatrixLookAtLHF()
401 mOut.f[13] = 0; in PVRTMatrixLookAtLHF()
402 mOut.f[14] = 0; in PVRTMatrixLookAtLHF()
403 mOut.f[15] = 1; in PVRTMatrixLookAtLHF()
406 PVRTMatrixMultiplyF(mOut, t, mOut); in PVRTMatrixLookAtLHF()
418 PVRTMATRIXf &mOut, in PVRTMatrixLookAtRHF() argument
436 mOut.f[ 0] = s.x; in PVRTMatrixLookAtRHF()
437 mOut.f[ 1] = u.x; in PVRTMatrixLookAtRHF()
438 mOut.f[ 2] = -f.x; in PVRTMatrixLookAtRHF()
439 mOut.f[ 3] = 0; in PVRTMatrixLookAtRHF()
441 mOut.f[ 4] = s.y; in PVRTMatrixLookAtRHF()
442 mOut.f[ 5] = u.y; in PVRTMatrixLookAtRHF()
443 mOut.f[ 6] = -f.y; in PVRTMatrixLookAtRHF()
444 mOut.f[ 7] = 0; in PVRTMatrixLookAtRHF()
446 mOut.f[ 8] = s.z; in PVRTMatrixLookAtRHF()
447 mOut.f[ 9] = u.z; in PVRTMatrixLookAtRHF()
448 mOut.f[10] = -f.z; in PVRTMatrixLookAtRHF()
449 mOut.f[11] = 0; in PVRTMatrixLookAtRHF()
451 mOut.f[12] = 0; in PVRTMatrixLookAtRHF()
452 mOut.f[13] = 0; in PVRTMatrixLookAtRHF()
453 mOut.f[14] = 0; in PVRTMatrixLookAtRHF()
454 mOut.f[15] = 1; in PVRTMatrixLookAtRHF()
457 PVRTMatrixMultiplyF(mOut, t, mOut); in PVRTMatrixLookAtRHF()
471 PVRTMATRIXf &mOut, in PVRTMatrixPerspectiveFovLHF() argument
489 mOut.f[ 0] = f / fRealAspect; in PVRTMatrixPerspectiveFovLHF()
490 mOut.f[ 1] = 0; in PVRTMatrixPerspectiveFovLHF()
491 mOut.f[ 2] = 0; in PVRTMatrixPerspectiveFovLHF()
492 mOut.f[ 3] = 0; in PVRTMatrixPerspectiveFovLHF()
494 mOut.f[ 4] = 0; in PVRTMatrixPerspectiveFovLHF()
495 mOut.f[ 5] = f; in PVRTMatrixPerspectiveFovLHF()
496 mOut.f[ 6] = 0; in PVRTMatrixPerspectiveFovLHF()
497 mOut.f[ 7] = 0; in PVRTMatrixPerspectiveFovLHF()
499 mOut.f[ 8] = 0; in PVRTMatrixPerspectiveFovLHF()
500 mOut.f[ 9] = 0; in PVRTMatrixPerspectiveFovLHF()
501 mOut.f[10] = fFar * n; in PVRTMatrixPerspectiveFovLHF()
502 mOut.f[11] = 1; in PVRTMatrixPerspectiveFovLHF()
504 mOut.f[12] = 0; in PVRTMatrixPerspectiveFovLHF()
505 mOut.f[13] = 0; in PVRTMatrixPerspectiveFovLHF()
506 mOut.f[14] = -fFar * fNear * n; in PVRTMatrixPerspectiveFovLHF()
507 mOut.f[15] = 0; in PVRTMatrixPerspectiveFovLHF()
511 PVRTMATRIXf mRotation, mTemp = mOut; in PVRTMatrixPerspectiveFovLHF()
513 PVRTMatrixMultiplyF(mOut, mTemp, mRotation); in PVRTMatrixPerspectiveFovLHF()
528 PVRTMATRIXf &mOut, in PVRTMatrixPerspectiveFovRHF() argument
546 mOut.f[ 0] = f / fRealAspect; in PVRTMatrixPerspectiveFovRHF()
547 mOut.f[ 1] = 0; in PVRTMatrixPerspectiveFovRHF()
548 mOut.f[ 2] = 0; in PVRTMatrixPerspectiveFovRHF()
549 mOut.f[ 3] = 0; in PVRTMatrixPerspectiveFovRHF()
551 mOut.f[ 4] = 0; in PVRTMatrixPerspectiveFovRHF()
552 mOut.f[ 5] = f; in PVRTMatrixPerspectiveFovRHF()
553 mOut.f[ 6] = 0; in PVRTMatrixPerspectiveFovRHF()
554 mOut.f[ 7] = 0; in PVRTMatrixPerspectiveFovRHF()
556 mOut.f[ 8] = 0; in PVRTMatrixPerspectiveFovRHF()
557 mOut.f[ 9] = 0; in PVRTMatrixPerspectiveFovRHF()
558 mOut.f[10] = (fFar + fNear) * n; in PVRTMatrixPerspectiveFovRHF()
559 mOut.f[11] = -1; in PVRTMatrixPerspectiveFovRHF()
561 mOut.f[12] = 0; in PVRTMatrixPerspectiveFovRHF()
562 mOut.f[13] = 0; in PVRTMatrixPerspectiveFovRHF()
563 mOut.f[14] = (2 * fFar * fNear) * n; in PVRTMatrixPerspectiveFovRHF()
564 mOut.f[15] = 0; in PVRTMatrixPerspectiveFovRHF()
568 PVRTMATRIXf mRotation, mTemp = mOut; in PVRTMatrixPerspectiveFovRHF()
570 PVRTMatrixMultiplyF(mOut, mTemp, mRotation); in PVRTMatrixPerspectiveFovRHF()
585 PVRTMATRIXf &mOut, in PVRTMatrixOrthoLHF() argument
592 mOut.f[ 0] = 2 / w; in PVRTMatrixOrthoLHF()
593 mOut.f[ 1] = 0; in PVRTMatrixOrthoLHF()
594 mOut.f[ 2] = 0; in PVRTMatrixOrthoLHF()
595 mOut.f[ 3] = 0; in PVRTMatrixOrthoLHF()
597 mOut.f[ 4] = 0; in PVRTMatrixOrthoLHF()
598 mOut.f[ 5] = 2 / h; in PVRTMatrixOrthoLHF()
599 mOut.f[ 6] = 0; in PVRTMatrixOrthoLHF()
600 mOut.f[ 7] = 0; in PVRTMatrixOrthoLHF()
602 mOut.f[ 8] = 0; in PVRTMatrixOrthoLHF()
603 mOut.f[ 9] = 0; in PVRTMatrixOrthoLHF()
604 mOut.f[10] = 1 / (zf - zn); in PVRTMatrixOrthoLHF()
605 mOut.f[11] = zn / (zn - zf); in PVRTMatrixOrthoLHF()
607 mOut.f[12] = 0; in PVRTMatrixOrthoLHF()
608 mOut.f[13] = 0; in PVRTMatrixOrthoLHF()
609 mOut.f[14] = 0; in PVRTMatrixOrthoLHF()
610 mOut.f[15] = 1; in PVRTMatrixOrthoLHF()
614 PVRTMATRIXf mRotation, mTemp = mOut; in PVRTMatrixOrthoLHF()
616 PVRTMatrixMultiplyF(mOut, mRotation, mTemp); in PVRTMatrixOrthoLHF()
631 PVRTMATRIXf &mOut, in PVRTMatrixOrthoRHF() argument
638 mOut.f[ 0] = 2 / w; in PVRTMatrixOrthoRHF()
639 mOut.f[ 1] = 0; in PVRTMatrixOrthoRHF()
640 mOut.f[ 2] = 0; in PVRTMatrixOrthoRHF()
641 mOut.f[ 3] = 0; in PVRTMatrixOrthoRHF()
643 mOut.f[ 4] = 0; in PVRTMatrixOrthoRHF()
644 mOut.f[ 5] = 2 / h; in PVRTMatrixOrthoRHF()
645 mOut.f[ 6] = 0; in PVRTMatrixOrthoRHF()
646 mOut.f[ 7] = 0; in PVRTMatrixOrthoRHF()
648 mOut.f[ 8] = 0; in PVRTMatrixOrthoRHF()
649 mOut.f[ 9] = 0; in PVRTMatrixOrthoRHF()
650 mOut.f[10] = 1 / (zn - zf); in PVRTMatrixOrthoRHF()
651 mOut.f[11] = zn / (zn - zf); in PVRTMatrixOrthoRHF()
653 mOut.f[12] = 0; in PVRTMatrixOrthoRHF()
654 mOut.f[13] = 0; in PVRTMatrixOrthoRHF()
655 mOut.f[14] = 0; in PVRTMatrixOrthoRHF()
656 mOut.f[15] = 1; in PVRTMatrixOrthoRHF()
660 PVRTMATRIXf mRotation, mTemp = mOut; in PVRTMatrixOrthoRHF()
662 PVRTMatrixMultiplyF(mOut, mRotation, mTemp); in PVRTMatrixOrthoRHF()