X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Fobject.h;h=ca41ffac0a2f086633dcb7153046b08ef1554d3d;hp=c97e951c16d04d7186d8c6bdeca2902041e05669;hb=b7ecc29c204faede028556d1942b2d61d5cda9ee;hpb=233dff2a6c552e08da832496aecd88ef4f8948f1 diff --git a/source/render/object.h b/source/render/object.h index c97e951c..ca41ffac 100644 --- a/source/render/object.h +++ b/source/render/object.h @@ -2,7 +2,6 @@ #define MSP_GL_OBJECT_H_ #include -#include "bindable.h" #include "renderable.h" #include "renderpass.h" #include "resourceobserver.h" @@ -66,15 +65,15 @@ public: private: struct LevelOfDetail { - RefPtr mesh; - RefPtr technique; + const Mesh *mesh; + const Technique *technique; }; std::vector lods; Geometry::BoundingSphere bounding_sphere; bool lod0_watched; - static Matrix identity_matrix; + static const Matrix identity_matrix; public: Object();