#define MSP_GL_LIGHT_H_
#include <vector>
+#include <msp/datafile/objectloader.h>
#include "color.h"
#include "placeable.h"
*/
class Light: public Placeable
{
+public:
+ class Loader: public DataFile::ObjectLoader<Light>
+ {
+ public:
+ Loader(Light &);
+
+ private:
+ void attenuation(float, float, float);
+ void diffuse(float, float, float);
+ void position(float, float, float, float);
+ void specular(float, float, float);
+ void spot_direction(float, float, float);
+ void spot_exponent(float);
+ void spot_cutoff(float);
+ };
+
private:
enum ParameterMask
{