X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprimitivetype.h;h=d004537b53a296632f5464785802eb041e2c9d73;hp=459c18e72d4fe050ae22cb6c191173d54ffdb6af;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=85facfb688035b5bbc9a3a87d080582fbf34930b diff --git a/source/primitivetype.h b/source/primitivetype.h index 459c18e7..d004537b 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 }; +std::istream &operator>>(std::istream &in, PrimitiveType &pt); + } // namespace GL } // namespace Msp