namespace GL {
/**
-A simple yet efficient scene. Rendering order is unspecified.
+A simple scene which renders its contents in an unspecified order.
*/
class SimpleScene: public Scene
{
using Scene::Loader;
private:
- std::set<Renderable *> renderables;
- mutable std::vector<Renderable *> cache;
+ std::vector<Renderable *> content;
public:
virtual void add(Renderable &);
virtual void remove(Renderable &);
-private:
- void populate_cache() const;
-
-public:
virtual void setup_frame(Renderer &);
virtual void finish_frame();