Lines Matching refs:mtx
501 void MTX_FrustumW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in MTX_FrustumW() argument
506 SDK_NULL_ASSERT(mtx); in MTX_FrustumW()
517 mtx->_01 = 0; in MTX_FrustumW()
518 mtx->_02 = 0; in MTX_FrustumW()
519 mtx->_03 = 0; in MTX_FrustumW()
520 mtx->_10 = 0; in MTX_FrustumW()
521 mtx->_12 = 0; in MTX_FrustumW()
522 mtx->_13 = 0; in MTX_FrustumW()
523 mtx->_23 = -scaleW; in MTX_FrustumW()
524 mtx->_30 = 0; in MTX_FrustumW()
525 mtx->_31 = 0; in MTX_FrustumW()
526 mtx->_33 = 0; in MTX_FrustumW()
536 mtx->_00 = FX_Mul32x64c(dblN, inv1); in MTX_FrustumW()
545 mtx->_11 = FX_Mul32x64c(dblN, inv2); in MTX_FrustumW()
546 mtx->_20 = FX_Mul32x64c(r + l, inv1); in MTX_FrustumW()
547 mtx->_21 = FX_Mul32x64c(t + b, inv2); in MTX_FrustumW()
554 mtx->_22 = FX_Mul32x64c(f + n, inv1); in MTX_FrustumW()
555 mtx->_32 = FX_Mul32x64c(FX_Mul(dblN, f), inv1); in MTX_FrustumW()
574 …TX_PerspectiveW(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in MTX_PerspectiveW() argument
579 SDK_NULL_ASSERT(mtx); in MTX_PerspectiveW()
594 mtx->_01 = 0; in MTX_PerspectiveW()
595 mtx->_02 = 0; in MTX_PerspectiveW()
596 mtx->_03 = 0; in MTX_PerspectiveW()
597 mtx->_10 = 0; in MTX_PerspectiveW()
598 mtx->_11 = one_tan; in MTX_PerspectiveW()
599 mtx->_12 = 0; in MTX_PerspectiveW()
600 mtx->_13 = 0; in MTX_PerspectiveW()
601 mtx->_20 = 0; in MTX_PerspectiveW()
602 mtx->_21 = 0; in MTX_PerspectiveW()
603 mtx->_23 = -scaleW; in MTX_PerspectiveW()
604 mtx->_30 = 0; in MTX_PerspectiveW()
605 mtx->_31 = 0; in MTX_PerspectiveW()
606 mtx->_33 = 0; in MTX_PerspectiveW()
613 mtx->_22 = FX_Mul32x64c(f + n, t); in MTX_PerspectiveW()
614 mtx->_32 = FX_Mul32x64c(FX_Mul(n << 1, f), t); in MTX_PerspectiveW()
615 mtx->_00 = FX_GetDivResult(); in MTX_PerspectiveW()
634 void MTX_OrthoW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in MTX_OrthoW() argument
638 SDK_NULL_ASSERT(mtx); in MTX_OrthoW()
648 mtx->_01 = 0; in MTX_OrthoW()
649 mtx->_02 = 0; in MTX_OrthoW()
650 mtx->_03 = 0; in MTX_OrthoW()
651 mtx->_10 = 0; in MTX_OrthoW()
652 mtx->_12 = 0; in MTX_OrthoW()
653 mtx->_13 = 0; in MTX_OrthoW()
654 mtx->_20 = 0; in MTX_OrthoW()
655 mtx->_21 = 0; in MTX_OrthoW()
656 mtx->_23 = 0; in MTX_OrthoW()
657 mtx->_33 = scaleW; in MTX_OrthoW()
666 mtx->_00 = FX_Mul32x64c(FX32_ONE * 2, inv1); in MTX_OrthoW()
675 mtx->_11 = FX_Mul32x64c(FX32_ONE * 2, inv2); in MTX_OrthoW()
683 mtx->_22 = FX_Mul32x64c(FX32_ONE * 2, inv3); in MTX_OrthoW()
684 mtx->_30 = FX_Mul32x64c(-r - l, inv1); in MTX_OrthoW()
685 mtx->_31 = FX_Mul32x64c(-t - b, inv2); in MTX_OrthoW()
686 mtx->_32 = FX_Mul32x64c(f + n, inv3); in MTX_OrthoW()