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