]> git.tdb.fi Git - libs/gl.git/blobdiff - source/environmentmap.h
Add a function to set depth clip of EnvironmentMap
[libs/gl.git] / source / environmentmap.h
index 006779462f5b93853e16c18ddf357caf06f7fff1..5f3b6a14b81b0493ac0e9fe2acbdb78bff7d5726 100644 (file)
@@ -39,10 +39,12 @@ private:
 public:
        EnvironmentMap(unsigned size, Renderable &rend, Renderable &env);
 
+       void set_depth_clip(float, float);
+
        virtual void setup_frame(Renderer &);
        virtual void finish_frame();
 
-       virtual void render(Renderer &, const Tag &) const;
+       virtual void render(Renderer &, const Tag & = Tag()) const;
 };
 
 } // namespace GL