X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fwindingtest.h;h=ffc52556bfaa5e9b6df35c5345e1afb212fdacab;hp=948f190b801ec34122d450f20a9b9b068eb654d1;hb=0cacf19c2e6aaa182ae0fcc7dfaae345aedd0e74;hpb=635d00bc1a9ba43ef1224681a14d0710a098cf87 diff --git a/source/windingtest.h b/source/windingtest.h index 948f190b..ffc52556 100644 --- a/source/windingtest.h +++ b/source/windingtest.h @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef WINDINGTEST_H_ -#define WINDINGTEST_H_ +#ifndef MSP_GL_WINDINGTEST_H_ +#define MSP_GL_WINDINGTEST_H_ #include #include "bindable.h" @@ -30,7 +23,6 @@ match the winding, the polygon is not rendered. class WindingTest: public Bindable { 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