object(obj)
{ }
-void ObjectInstance::render(const Tag &tag) const
-{
- Renderer renderer(0);
- render(renderer, tag);
-}
-
void ObjectInstance::render(Renderer &renderer, const Tag &tag) const
{
object.render(renderer, *this, tag);
virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const { return object.get_bounding_sphere(); }
- virtual void render(const Tag &tag = Tag()) const;
virtual void render(Renderer &, const Tag & = Tag()) const;
/** Hook function, called from Object just before rendering the mesh.