]> git.tdb.fi Git - libs/gl.git/blobdiff - source/frustumculler.h
Always update program uniforms if uniform names have changed
[libs/gl.git] / source / frustumculler.h
index d6f07486bc967d758f7e40cb0a332eea8b940735..4d227602dd0fbbcd46d7664fb9d9137d739487bb 100644 (file)
@@ -7,13 +7,16 @@
 namespace Msp {
 namespace GL {
 
+/**
+Culls objects that are outside of the view frustum.
+*/
 class FrustumCuller: public Culler
 {
 private:
        Vector3 edges[4];
 
 public:
-       virtual void setup_frame(const Renderer &);
+       virtual void setup_pass(const Renderer &);
 
        virtual bool cull(const Renderer &, const Renderable &) const;
 };