X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fscene.h;h=512b020b8e3b29d5b930baff4c7bc29cc58cfb5d;hb=85d86a0d7cddce83578629e5817b6e1b50061540;hp=692dcd0dfc6c7ebf88e0e8c7f0b26d7c0aae4b33;hpb=190a7e11237351f6b730c28f7b16f183e8adc69c;p=libs%2Fgl.git diff --git a/source/render/scene.h b/source/render/scene.h index 692dcd0d..512b020b 100644 --- a/source/render/scene.h +++ b/source/render/scene.h @@ -40,6 +40,7 @@ protected: private: Loader(Scene &, Collection &, ContentMap *); + void array(const std::string &); void object(const std::string &); void object_tagged(const std::string &, const std::string &); void scene(const std::string &); @@ -60,23 +61,14 @@ public: protected: mutable Matrix culling_matrix; - mutable Vector4 frustum_edges[6]; Scene() = default; -private: - Scene(const Scene &); - Scene &operator=(const Scene &); public: virtual ~Scene() = default; virtual void add(Renderable &) = 0; virtual void remove(Renderable &) = 0; -protected: - bool setup_frustum(const Renderer &) const; - bool frustum_cull(const Renderable &) const; - -public: template static void register_type(const std::string &); private: