private:
ContentMap *content;
+ unsigned inst_counter;
public:
Loader(Scene &, Collection &);
typedef TypeRegistry<GenericLoader::CreateScene, GenericLoader &> SceneRegistry;
protected:
- // XXX If a loaded renderable is removed from the scene it needs to be removed from here as well
- std::vector<Renderable *> owned_data;
mutable Matrix culling_matrix;
mutable Vector4 frustum_edges[6];
Scene(const Scene &);
Scene &operator=(const Scene &);
public:
- virtual ~Scene();
+ virtual ~Scene() { }
virtual void add(Renderable &) = 0;
virtual void remove(Renderable &) = 0;