| 597 | } |
| 598 | |
| 599 | void GFXDevice::setFrustum( F32 left, |
| 600 | F32 right, |
| 601 | F32 bottom, |
| 602 | F32 top, |
| 603 | F32 nearPlane, |
| 604 | F32 farPlane, |
| 605 | bool bRotate ) |
| 606 | { |
| 607 | // store values |
| 608 | mFrustum.set(false, left, right, top, bottom, nearPlane, farPlane); |
| 609 | |
| 610 | // compute matrix |
| 611 | MatrixF projection; |
| 612 | mFrustum.getProjectionMatrix(&projection, bRotate); |
| 613 | setProjectionMatrix( projection ); |
| 614 | } |
| 615 | |
| 616 | void GFXDevice::setFrustum( const Frustum& frust, bool bRotate ) |
| 617 | { |
no test coverage detected