]> git.tdb.fi Git - libs/gl.git/blobdiff - source/clipunit.h
Remove support for legacy OpenGL features
[libs/gl.git] / source / clipunit.h
diff --git a/source/clipunit.h b/source/clipunit.h
deleted file mode 100644 (file)
index b4af967..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef MSP_GL_CLIPUNIT_H_
-#define MSP_GL_CLIPUNIT_H_
-
-#include <vector>
-
-namespace Msp {
-namespace GL {
-
-class ClipPlane;
-
-class ClipUnit
-{
-private:
-       unsigned index;
-       const ClipPlane *plane;
-
-       static std::vector<ClipUnit> units;
-
-       ClipUnit();
-
-public:
-       unsigned get_index() const { return index; }
-       bool set_plane(const ClipPlane *);
-       const ClipPlane *get_plane() const { return plane; } 
-
-       static unsigned get_n_units();
-       static ClipUnit &get_unit(unsigned);
-       static ClipUnit *find_unit(const ClipPlane *);
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif