]> git.tdb.fi Git - libs/gl.git/blobdiff - source/light.h
Remove ambient color from Light
[libs/gl.git] / source / light.h
index fb3410c7332716d6e0cb69e90db5f0a33501573b..658e828781ae32af78f1e70fafe99e984cb99ac7 100644 (file)
@@ -11,7 +11,6 @@ namespace GL {
 class Light
 {
 private:
-       Color ambient;
        Color diffuse;
        Color specular;
        Vector4 position;
@@ -26,10 +25,8 @@ private:
 public:
        Light();
 
-       void set_ambient(const Color &c);
        void set_diffuse(const Color &c);
        void set_specular(const Color &c);
-       const Color &get_ambient() const { return ambient; }
        const Color &get_diffuse() const { return diffuse; }
        const Color &get_specular() const { return specular; }