X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fscene.h;h=e6115ae56541d9e9907818da03c780f45f80660d;hb=08d3b5a55fad7439b47fc93d8ba604cbeb7e19ca;hp=d07a81da80b82fef2998eed732c4d3aca8bef8b3;hpb=e70662d7812464159f2e47f4bebb69d88f89ae93;p=libs%2Fgl.git diff --git a/source/render/scene.h b/source/render/scene.h index d07a81da..e6115ae5 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 &); @@ -59,9 +60,6 @@ public: }; protected: - mutable Matrix culling_matrix; - mutable Vector4 frustum_edges[6]; - Scene() = default; public: virtual ~Scene() = default; @@ -69,11 +67,6 @@ public: 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: