X-Git-Url: http://git.tdb.fi/?p=libs%2Fdemoscene.git;a=blobdiff_plain;f=source%2Fstage.cpp;h=e1ce3522753683e38d3941db0c2d2df05ab803f7;hp=267afe3a7dbe31148c590fa8fbf907fa9cb75813;hb=e2032cbdb8d2ae52e42d400c5cc90ddad844f665;hpb=287ad70a1b4d6b65203e6b0827089456eb7f7659 diff --git a/source/stage.cpp b/source/stage.cpp index 267afe3..e1ce352 100644 --- a/source/stage.cpp +++ b/source/stage.cpp @@ -14,6 +14,11 @@ Stage::~Stage() delete pipeline; } +void Stage::add_things(Demo::ThingMap &things, const string &prefix) +{ + things[prefix+"camera"] = static_cast(&camera); +} + void Stage::add_postprocessor(GL::PostProcessor &pp) { pipeline->add_postprocessor(pp);