]> git.tdb.fi Git - libs/gl.git/blobdiff - source/windingtest.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / windingtest.h
diff --git a/source/windingtest.h b/source/windingtest.h
deleted file mode 100644 (file)
index 948f190..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef WINDINGTEST_H_
-#define WINDINGTEST_H_
-
-#include <msp/strings/lexicalcast.h>
-#include "bindable.h"
-#include "gl.h"
-
-namespace Msp {
-namespace GL {
-
-enum FaceWinding
-{
-       CLOCKWISE = GL_CW,
-       COUNTERCLOCKWISE = GL_CCW
-};
-
-void operator>>(const LexicalConverter &, FaceWinding &);
-
-/**
-Tests the winding of polygons.  If the order of vertices on screen does not
-match the winding, the polygon is not rendered.
-*/
-class WindingTest: public Bindable<WindingTest>
-{
-private:
-       bool test;
-       FaceWinding winding;
-
-public:
-       WindingTest();
-       WindingTest(FaceWinding);
-
-       void bind() const;
-
-       static void unbind();
-
-       static WindingTest &clockwise();
-       static WindingTest &counterclockwise();
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif