]> git.tdb.fi Git - libs/gl.git/blobdiff - source/windingtest.h
Always update program uniforms if uniform names have changed
[libs/gl.git] / source / windingtest.h
index 948f190b801ec34122d450f20a9b9b068eb654d1..7ef36942e9b5b24c019df3f1a3b92db313f3fa9f 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef WINDINGTEST_H_
 #define WINDINGTEST_H_
 
@@ -30,7 +23,6 @@ match the winding, the polygon is not rendered.
 class WindingTest: public Bindable<WindingTest>
 {
 private:
-       bool test;
        FaceWinding winding;
 
 public:
@@ -41,8 +33,10 @@ public:
 
        static void unbind();
 
-       static WindingTest &clockwise();
-       static WindingTest &counterclockwise();
+       const WindingTest &get_reverse() const;
+
+       static const WindingTest &clockwise();
+       static const WindingTest &counterclockwise();
 };
 
 } // namespace GL