]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/scene.h
Move frustum culling from Scene to Camera
[libs/gl.git] / source / render / scene.h
index d07a81da80b82fef2998eed732c4d3aca8bef8b3..6f4f48d675e6bce3db2850ca24eb78466157769e 100644 (file)
@@ -60,7 +60,6 @@ public:
 
 protected:
        mutable Matrix culling_matrix;
-       mutable Vector4 frustum_edges[6];
 
        Scene() = default;
 public:
@@ -69,11 +68,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: