]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderer.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / renderer.h
index 8dbe779f32b78f6a8e1bf108c084ad7a4f2afba7..866881c7b66aeebb8b913c43af4ee14b357c1885 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_RENDERER_H_
 #define MSP_GL_RENDERER_H_
 
@@ -23,6 +16,7 @@ class ProgramData;
 class Texture;
 class Texturing;
 class VertexArray;
+class WindingTest;
 
 /**
 A class for supervising the rendering process.  While many Renderables (in
@@ -52,6 +46,7 @@ private:
                const Material *material;
                const Program *shprog;
                std::vector<const ProgramData *> shdata;
+               const WindingTest *winding_test;
 
                State();
        };
@@ -91,6 +86,7 @@ public:
        void add_shader_data(const ProgramData *);
        void set_vertex_array(const VertexArray *);
        void set_element_buffer(const Buffer *);
+       void set_winding_test(const WindingTest *);
 
        void push_state();
        void pop_state();