1 #include <msp/gl/renderer.h>
7 void Slot::set(Renderable *c)
12 const Matrix *Slot::get_matrix() const
14 return content ? content->get_matrix() : 0;
17 const Geometry::BoundingSphere<float, 3> *Slot::get_bounding_sphere() const
19 return content ? content->get_bounding_sphere() : 0;
22 void Slot::setup_frame(Renderer &renderer)
25 content->setup_frame(renderer);
28 void Slot::finish_frame()
31 content->finish_frame();
34 void Slot::render(Renderer &renderer, Tag tag) const
37 content->render(renderer, tag);