]> git.tdb.fi Git - libs/gl.git/blob - source/frustumculler.h
d6f07486bc967d758f7e40cb0a332eea8b940735
[libs/gl.git] / source / frustumculler.h
1 #ifndef MSP_GL_FRUSTUMCULLER_H_
2 #define MSP_GL_FRUSTUMCULLER_H_
3
4 #include "culler.h"
5 #include "vector.h"
6
7 namespace Msp {
8 namespace GL {
9
10 class FrustumCuller: public Culler
11 {
12 private:
13         Vector3 edges[4];
14
15 public:
16         virtual void setup_frame(const Renderer &);
17
18         virtual bool cull(const Renderer &, const Renderable &) const;
19 };
20
21 } // namespace GL
22 } // namespace Msp
23
24 #endif