1 #ifndef MSP_GL_WINDINGTEST_H_
2 #define MSP_GL_WINDINGTEST_H_
4 #include <msp/strings/lexicalcast.h>
14 COUNTERCLOCKWISE = GL_CCW
17 void operator>>(const LexicalConverter &, FaceWinding &);
20 Tests the winding of polygons. If the order of vertices on screen does not
21 match the winding, the polygon is not rendered.
23 class WindingTest: public Bindable<WindingTest>
30 WindingTest(FaceWinding);
36 const WindingTest &get_reverse() const;
38 static const WindingTest &clockwise();
39 static const WindingTest &counterclockwise();