]> git.tdb.fi Git - libs/gl.git/blob - source/primitivetype.h
Move VertexFormat and VertexArrayBuilder to their own files
[libs/gl.git] / source / primitivetype.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_PRIMITIVETYPE_H_
9 #define MSP_GL_PRIMITIVETYPE_H_
10
11 #include <GL/gl.h>
12
13 namespace Msp {
14 namespace GL {
15
16 enum PrimitiveType
17 {
18         POINTS         = GL_POINTS,
19         LINES          = GL_LINES,
20         LINE_STRIP     = GL_LINE_STRIP,
21         LINE_LOOP      = GL_LINE_LOOP,
22         TRIANGLES      = GL_TRIANGLES,
23         TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
24         TRIANGLE_FAN   = GL_TRIANGLE_FAN,
25         QUADS          = GL_QUADS,
26         QUAD           = GL_QUAD_STRIP,
27         POLYGON        = GL_POLYGON
28 };
29
30 } // namespace GL
31 } // namespace Msp
32
33 #endif