void init();
virtual void finish();
+ void bounding_sphere_hint(float, float, float, float);
void level_of_detail(unsigned);
};
std::vector<LevelOfDetail> lods;
Geometry::BoundingSphere<float, 3> bounding_sphere;
+ bool lod0_watched;
public:
Object();
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
const RenderPass *get_pass(const Tag &, unsigned) const;
virtual void resource_loaded(Resource &);
+ virtual void resource_removed(Resource &);
};
} // namespace GL