]> git.tdb.fi Git - libs/gl.git/blobdiff - source/object.h
Use vector when there's no reason to use some other container
[libs/gl.git] / source / object.h
index a11bfd9b654d0ffa98887fefcb2c886a360e1d98..88a5d9e91659189310d0f3b951841fe4ef5c4cbf 100644 (file)
@@ -72,6 +72,7 @@ private:
 
        std::vector<LevelOfDetail> lods;
        Geometry::BoundingSphere<float, 3> bounding_sphere;
+       bool lod0_watched;
 
 public:
        Object();
@@ -106,8 +107,6 @@ public:
 
        virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const { return &bounding_sphere; }
 
-       virtual void render(const Tag &tag = Tag()) const;
-
        virtual void render(Renderer &, const Tag & = Tag()) const;
 
        /** Renders an instance of the object.  The instance's hook functions are
@@ -122,6 +121,7 @@ private:
        const RenderPass *get_pass(const Tag &, unsigned) const;
 
        virtual void resource_loaded(Resource &);
+       virtual void resource_removed(Resource &);
 };
 
 } // namespace GL