#ifndef MSP_GL_LIGHT_H_
#define MSP_GL_LIGHT_H_
-#include <vector>
#include <msp/datafile/objectloader.h>
+#include <msp/geometry/angle.h>
#include "color.h"
#include "placeable.h"
+#include "vector.h"
namespace Msp {
namespace GL {
-class Matrix;
class ProgramData;
/**
const Color &get_color() const { return color; }
const Color &get_transmittance() const { return transmittance; }
- DEPRECATED void set_diffuse(const Color &c) { set_color(c); }
- DEPRECATED void set_specular(const Color &) { }
- DEPRECATED const Color &get_diffuse() const { return color; }
- DEPRECATED const Color &get_specular() const { return color; }
-
/** Sets the postion and orientation of the Light from a matrix. Negative Z
axis is used as the spot direction, other axes are ignored. */
virtual void set_matrix(const Matrix &);