]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/scene.h
Add a loader to InstanceArray and make them loadable in scenes
[libs/gl.git] / source / render / scene.h
index d07a81da80b82fef2998eed732c4d3aca8bef8b3..512b020b8e3b29d5b930baff4c7bc29cc58cfb5d 100644 (file)
@@ -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,7 +61,6 @@ public:
 
 protected:
        mutable Matrix culling_matrix;
-       mutable Vector4 frustum_edges[6];
 
        Scene() = default;
 public:
@@ -69,11 +69,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<typename T>
        static void register_type(const std::string &);
 private: