X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Flighting.h;h=92a4bcf8d9478a93074bd318f03c1ad77e905a91;hb=cd15da52eac6471f860f4232161c451530dc9bd4;hp=a2f84c32e7105f5c189fb470410cf5d757794f7f;hpb=b9d8d358aab136fb1d1242360fe4f3c3711bde11;p=libs%2Fgl.git diff --git a/source/materials/lighting.h b/source/materials/lighting.h index a2f84c32..92a4bcf8 100644 --- a/source/materials/lighting.h +++ b/source/materials/lighting.h @@ -4,7 +4,6 @@ #include #include #include "color.h" -#include "gl.h" #include "programdata.h" namespace Msp { @@ -59,12 +58,10 @@ private: Color fog_color; float fog_density; std::vector lights; - std::vector owned_data; mutable ProgramData shdata; public: Lighting(); - ~Lighting(); /** Sets the ambient lighting color. Affects all surfaces in the scene. */ void set_ambient(const Color &);