| 56 | //----------------------------------------------------------------------------- |
| 57 | |
| 58 | Frustum::Frustum( bool isOrtho, |
| 59 | F32 nearLeft, |
| 60 | F32 nearRight, |
| 61 | F32 nearTop, |
| 62 | F32 nearBottom, |
| 63 | F32 nearDist, |
| 64 | F32 farDist, |
| 65 | const MatrixF &transform ) |
| 66 | { |
| 67 | mTransform = transform; |
| 68 | mPosition = transform.getPosition(); |
| 69 | |
| 70 | mNearLeft = nearLeft; |
| 71 | mNearRight = nearRight; |
| 72 | mNearTop = nearTop; |
| 73 | mNearBottom = nearBottom; |
| 74 | mNearDist = nearDist; |
| 75 | mFarDist = farDist; |
| 76 | mIsOrtho = isOrtho; |
| 77 | |
| 78 | mNumTiles = 1; |
| 79 | mCurrTile.set(0,0); |
| 80 | mTileOverlap.set(0.0f, 0.0f); |
| 81 | |
| 82 | mProjectionOffset.zero(); |
| 83 | mProjectionOffsetMatrix.identity(); |
| 84 | } |
| 85 | |
| 86 | //----------------------------------------------------------------------------- |
| 87 |
nothing calls this directly
no test coverage detected