1 #ifndef MSP_GL_LIGHTUNIT_H_
2 #define MSP_GL_LIGHTUNIT_H_
17 static std::vector<LightUnit> units;
22 unsigned get_index() const { return index; }
23 bool set_light(const Light *);
24 const Light *get_light() const { return light; }
26 static unsigned get_n_units();
27 static LightUnit &get_unit(unsigned i);
28 static LightUnit *find_unit(const Light *);