| 560 | //----------------------------------------------------------------------------- |
| 561 | |
| 562 | void Frustum::getProjectionMatrix( MatrixF *proj, bool gfxRotate ) const |
| 563 | { |
| 564 | if (mIsOrtho) |
| 565 | { |
| 566 | MathUtils::makeOrthoProjection(proj, mNearLeft, mNearRight, mNearTop, mNearBottom, mNearDist, mFarDist, gfxRotate); |
| 567 | proj->mulL(mProjectionOffsetMatrix); |
| 568 | } |
| 569 | else |
| 570 | { |
| 571 | MathUtils::makeProjection(proj, mNearLeft, mNearRight, mNearTop, mNearBottom, mNearDist, mFarDist, gfxRotate); |
| 572 | proj->mulL(mProjectionOffsetMatrix); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | //----------------------------------------------------------------------------- |
| 577 |
no test coverage detected