]> git.tdb.fi Git - libs/gl.git/blobdiff - source/lightunit.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / lightunit.h
diff --git a/source/lightunit.h b/source/lightunit.h
deleted file mode 100644 (file)
index 658712d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef MSP_GL_LIGHTUNIT_H_
-#define MSP_GL_LIGHTUNIT_H_
-
-#include <vector>
-
-namespace Msp {
-namespace GL {
-
-class Light;
-
-class LightUnit
-{
-private:
-       unsigned index;
-       const Light *light;
-
-       static std::vector<LightUnit> units;
-       static LightUnit *cur_unit;
-
-       LightUnit();
-
-public:
-       unsigned get_index() const { return index; }
-       bool set_light(const Light *);
-       const Light *get_light() const { return light; }
-
-       static unsigned get_n_units();
-       static LightUnit &get_unit(unsigned i);
-       static LightUnit *find_unit(const Light *);
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif