3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
15 void Scene::add(const Renderable &r)
17 renderables.insert(&r);
20 void Scene::remove(const Renderable &r)
22 renderables.erase(&r);
25 void Scene::render(const Tag &tag) const
27 for(set<const Renderable *>::const_iterator i=renderables.begin(); i!=renderables.end(); ++i)
28 if((*i)->has_pass(tag))