X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobject.h;h=3d0415c66daa64b3c8ebb3436b0da037897912e9;hb=3b159edbe4e80a2bc19c4c2fcd42cb996b9fbfe0;hp=192cf069bd8f4c8bf1b8a9ca801f5682e7fe4876;hpb=fc0f53b1981436d39a27884376e852dca5671fda;p=libs%2Fgl.git diff --git a/source/object.h b/source/object.h index 192cf069..3d0415c6 100644 --- a/source/object.h +++ b/source/object.h @@ -59,6 +59,7 @@ public: void init(); virtual void finish(); + void bounding_sphere_hint(float, float, float, float); void level_of_detail(unsigned); }; @@ -71,6 +72,7 @@ private: std::vector lods; Geometry::BoundingSphere bounding_sphere; + bool lod0_watched; public: Object(); @@ -121,6 +123,7 @@ private: const RenderPass *get_pass(const Tag &, unsigned) const; virtual void resource_loaded(Resource &); + virtual void resource_removed(Resource &); }; } // namespace GL