X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fobject.h;h=88a5d9e91659189310d0f3b951841fe4ef5c4cbf;hp=a11bfd9b654d0ffa98887fefcb2c886a360e1d98;hb=cfd4d36c2b6b6095ada3aef8082e5d409a233a21;hpb=84269f7b598673b06757313d70934a1747045b69 diff --git a/source/object.h b/source/object.h index a11bfd9b..88a5d9e9 100644 --- a/source/object.h +++ b/source/object.h @@ -72,6 +72,7 @@ private: std::vector lods; Geometry::BoundingSphere bounding_sphere; + bool lod0_watched; public: Object(); @@ -106,8 +107,6 @@ public: virtual const Geometry::BoundingSphere *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