]> git.tdb.fi Git - libs/gl.git/blob - source/primitivetype.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / primitivetype.h
1 #ifndef MSP_GL_PRIMITIVETYPE_H_
2 #define MSP_GL_PRIMITIVETYPE_H_
3
4 #include <istream>
5 #include "gl.h"
6
7 namespace Msp {
8 namespace GL {
9
10 enum PrimitiveType
11 {
12         POINTS         = GL_POINTS,
13         LINES          = GL_LINES,
14         LINE_STRIP     = GL_LINE_STRIP,
15         LINE_LOOP      = GL_LINE_LOOP,
16         TRIANGLES      = GL_TRIANGLES,
17         TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
18         TRIANGLE_FAN   = GL_TRIANGLE_FAN,
19         QUADS          = GL_QUADS,
20         QUAD_STRIP     = GL_QUAD_STRIP,
21         POLYGON        = GL_POLYGON
22 };
23
24 std::istream &operator>>(std::istream &in, PrimitiveType &pt);
25
26 } // namespace GL
27 } // namespace Msp
28
29 #endif