X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flight.h;h=6a6868412f7614a70e2241f02f2871d2d0077437;hb=c1405286754104ddc044dddbb0a3505a9a5e3d4a;hp=cbf95add001d86766e9c2826658240597705d761;hpb=832fb1872e6e5e664e2e5130122fd2f74729ed42;p=libs%2Fgl.git diff --git a/source/light.h b/source/light.h index cbf95add..6a686841 100644 --- a/source/light.h +++ b/source/light.h @@ -33,8 +33,8 @@ public: void set_diffuse(const Color &c); void set_specular(const Color &c); void set_position(float, float, float, float); - void apply(); - void apply_to(unsigned); + void apply() const; + void apply_to(unsigned) const; static void activate(unsigned); };