1 #include <msp/gl/renderer.h>
11 void Slot::set(Renderable *r)
16 const Matrix *Slot::get_matrix() const
18 return renderable ? renderable->get_matrix() : 0;
21 const Geometry::BoundingSphere<float, 3> *Slot::get_bounding_sphere() const
23 return renderable ? renderable->get_bounding_sphere() : 0;
26 void Slot::setup_frame(Renderer &renderer)
29 renderable->setup_frame(renderer);
32 void Slot::finish_frame()
35 renderable->finish_frame();
38 void Slot::render(Renderer &renderer, Tag tag) const
41 renderer.render(*renderable, tag);