delete pipeline;
}
+void Stage::add_things(Demo::ThingMap &things, const string &prefix)
+{
+ things[prefix+"camera"] = static_cast<GL::Placeable *>(&camera);
+}
+
+void Stage::add_postprocessor(GL::PostProcessor &pp)
+{
+ pipeline->add_postprocessor(pp);
+}
+
void Stage::set_camera(const GL::Camera &c)
{
camera.set_object_matrix(c.get_object_matrix());