]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivetype.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / primitivetype.h
index 459c18e72d4fe050ae22cb6c191173d54ffdb6af..d004537b53a296632f5464785802eb041e2c9d73 100644 (file)
@@ -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 <GL/gl.h>
+#include <istream>
+#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