]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/lighting.h
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / materials / lighting.h
index a2f84c32e7105f5c189fb470410cf5d757794f7f..92a4bcf8d9478a93074bd318f03c1ad77e905a91 100644 (file)
@@ -4,7 +4,6 @@
 #include <vector>
 #include <msp/geometry/angle.h>
 #include "color.h"
-#include "gl.h"
 #include "programdata.h"
 
 namespace Msp {
@@ -59,12 +58,10 @@ private:
        Color fog_color;
        float fog_density;
        std::vector<AttachedLight> lights;
-       std::vector<Light *> owned_data;
        mutable ProgramData shdata;
 
 public:
        Lighting();
-       ~Lighting();
 
        /** Sets the ambient lighting color.  Affects all surfaces in the scene. */
        void set_ambient(const Color &);