]> git.tdb.fi Git - libs/gl.git/blob - source/core/cullface.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / cullface.h
1 #ifndef MSP_GL_CULLFACE_H_
2 #define MSP_GL_CULLFACE_H_
3
4 #include <msp/strings/lexicalcast.h>
5
6 namespace Msp {
7 namespace GL {
8
9 enum FaceWinding
10 {
11         NON_MANIFOLD,
12         CLOCKWISE,
13         COUNTERCLOCKWISE
14 };
15
16 enum CullMode
17 {
18         NO_CULL,
19         CULL_FRONT,
20         CULL_BACK
21 };
22
23 void operator>>(const LexicalConverter &, FaceWinding &);
24 void operator>>(const LexicalConverter &, CullMode &);
25
26 } // namespace GL
27 } // namespace Msp
28
29 #endif