| 143 | //============================================================================// |
| 144 | |
| 145 | static bool GetViewPlanes(PlanesData& planes) { |
| 146 | planes.planes.clear(); |
| 147 | const ViewFrustum& vf = RENDERER.getViewFrustum(); |
| 148 | for (int p = 0; p < vf.getPlaneCount(); p++) { |
| 149 | planes.planes.push_back(vf.getSide(p)); |
| 150 | } |
| 151 | return true; |
| 152 | } |
| 153 | |
| 154 | |
| 155 | static bool GetRadarBox(BoxData& box) { |
no test coverage detected