X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprimitivetype.h;h=8e33b1da141fc6cfabfc473329c9e73bb71f3607;hp=459c18e72d4fe050ae22cb6c191173d54ffdb6af;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=85facfb688035b5bbc9a3a87d080582fbf34930b diff --git a/source/primitivetype.h b/source/primitivetype.h index 459c18e7..8e33b1da 100644 --- a/source/primitivetype.h +++ b/source/primitivetype.h @@ -1,14 +1,8 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_PRIMITIVETYPE_H_ #define MSP_GL_PRIMITIVETYPE_H_ -#include +#include +#include "gl.h" namespace Msp { namespace GL { @@ -21,12 +15,11 @@ enum PrimitiveType LINE_LOOP = GL_LINE_LOOP, TRIANGLES = GL_TRIANGLES, TRIANGLE_STRIP = GL_TRIANGLE_STRIP, - TRIANGLE_FAN = GL_TRIANGLE_FAN, - QUADS = GL_QUADS, - QUAD = GL_QUAD_STRIP, - POLYGON = GL_POLYGON + TRIANGLE_FAN = GL_TRIANGLE_FAN }; +void operator>>(const LexicalConverter &, PrimitiveType &); + } // namespace GL } // namespace Msp