X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Flight.h;h=05a05aa90040a65bbf1017a070fdc9ab85cb75c0;hb=5008778dbb1840bf7c6d479800d2b932f8386fb2;hp=4532d0d42c4035c2442fbcaf2e1eea414ce6c164;hpb=a275d25eccad43716c5dcf91f8bc4af2a53c0445;p=libs%2Fgl.git diff --git a/source/materials/light.h b/source/materials/light.h index 4532d0d4..05a05aa9 100644 --- a/source/materials/light.h +++ b/source/materials/light.h @@ -1,15 +1,15 @@ #ifndef MSP_GL_LIGHT_H_ #define MSP_GL_LIGHT_H_ -#include #include +#include #include "color.h" #include "placeable.h" +#include "vector.h" namespace Msp { namespace GL { -class Matrix; class ProgramData; /** @@ -71,11 +71,6 @@ public: 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 &);