3 This file is part of libmspgl
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_LIGHTING_H_
9 #define MSP_GL_LIGHTING_H_
22 LIGHTING = GL_LIGHTING
26 Encapsulates global lighting parameters and a number of individual lights.
32 std::vector<const Light *> lights;
34 static const Lighting *current;
39 void set_ambient(const Color &);
40 const Color &get_ambient() const { return ambient; }
42 void attach(unsigned, const Light &);
43 void detach(unsigned);