X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprimitivetype.h;h=52a6e8754f733c2273440a3dd42cd7c3736100cc;hb=ab83db6f1e31d44ced585119a57fd10896e469cb;hp=459c18e72d4fe050ae22cb6c191173d54ffdb6af;hpb=85facfb688035b5bbc9a3a87d080582fbf34930b;p=libs%2Fgl.git diff --git a/source/primitivetype.h b/source/primitivetype.h index 459c18e7..52a6e875 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 { @@ -23,10 +17,12 @@ enum PrimitiveType TRIANGLE_STRIP = GL_TRIANGLE_STRIP, TRIANGLE_FAN = GL_TRIANGLE_FAN, QUADS = GL_QUADS, - QUAD = GL_QUAD_STRIP, + QUAD_STRIP = GL_QUAD_STRIP, POLYGON = GL_POLYGON }; +void operator>>(const LexicalConverter &, PrimitiveType &); + } // namespace GL } // namespace Msp