+++ /dev/null
-#ifndef MSP_GL_CULLER_H_
-#define MSP_GL_CULLER_H_
-
-namespace Msp {
-namespace GL {
-
-class Renderable;
-class Renderer;
-
-/**
-Base class and interface for cullers. Scenes can use cullers to avoid
-rendering things that are not visible.
-*/
-class Culler
-{
-protected:
- Culler() { }
-public:
- virtual ~Culler() { }
-
- /** Called once at the start of each rendering pass. */
- virtual void setup_pass(const Renderer &) { };
-
- /** Decides if a renderable should be culled. If this returns true, the
- renderable is skipped. */
- virtual bool cull(const Renderer &, const Renderable &) const = 0;
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif