]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/pointlight.h
Change various generated texture names to use the unified extension
[libs/gl.git] / source / materials / pointlight.h
index 074c8c37b61d208cdd76cf9a97a59bfa8b47c9b7..ed9789c7b0d2de622bc04e61800205260347dc0d 100644 (file)
@@ -30,13 +30,9 @@ public:
        };
 
 private:
-       Vector3 position;
-       float attenuation[3];
+       Vector3 position = { 0.0f, 0.0f, 0.0f };
+       float attenuation[3] = { 1.0f, 0.0f, 1.0f };
 
-public:
-       PointLight();
-
-private:
        void update_matrix();
 
 public: