]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/object.h
Mark constant data as const
[libs/gl.git] / source / render / object.h
index 522d3adc335be01519e8c69df5a9a952c9b7129f..ca41ffac0a2f086633dcb7153046b08ef1554d3d 100644 (file)
@@ -2,7 +2,6 @@
 #define MSP_GL_OBJECT_H_
 
 #include <vector>
-#include "bindable.h"
 #include "renderable.h"
 #include "renderpass.h"
 #include "resourceobserver.h"
@@ -74,7 +73,7 @@ private:
        Geometry::BoundingSphere<float, 3> bounding_sphere;
        bool lod0_watched;
 
-       static Matrix identity_matrix;
+       static const Matrix identity_matrix;
 
 public:
        Object();