Revision 2800,
520 bytes
checked in by mattausch, 16 years ago
(diff) |
friendly culling debug version with timers, no materials
|
Rev | Line | |
---|
[2757] | 1 | #ifndef __FRUSTUMCULLINGTRAVERSER_H
|
---|
| 2 | #define __FRUSTUMCULLINGTRAVERSER_H
|
---|
| 3 |
|
---|
| 4 | #include "RenderTraverser.h"
|
---|
| 5 |
|
---|
| 6 |
|
---|
[2776] | 7 | namespace CHCDemoEngine
|
---|
[2757] | 8 | {
|
---|
| 9 |
|
---|
| 10 | /** Abstract class implementing a scene traversal for rendering.
|
---|
| 11 | */
|
---|
| 12 | class FrustumCullingTraverser: public RenderTraverser
|
---|
| 13 | {
|
---|
| 14 | public:
|
---|
| 15 |
|
---|
| 16 | FrustumCullingTraverser();
|
---|
| 17 |
|
---|
[2800] | 18 | virtual int GetType() const { return CULL_FRUSTUM; }
|
---|
| 19 |
|
---|
[2767] | 20 | protected:
|
---|
| 21 | /** Traverses and renders the scene with the specified method
|
---|
[2757] | 22 | */
|
---|
[2767] | 23 | virtual void Traverse();
|
---|
[2757] | 24 | };
|
---|
| 25 |
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | #endif // __FRUSTUMTRAVERSER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.