]> git.tdb.fi Git - libs/gl.git/blobdiff - source/culler.h
Remove the culler abstraction and move frustum culling to Scene
[libs/gl.git] / source / culler.h
diff --git a/source/culler.h b/source/culler.h
deleted file mode 100644 (file)
index 4d2bdb7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#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