]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivetype.h
Use libmspmath to provide vector and matrix operations
[libs/gl.git] / source / primitivetype.h
index 4001852575aa0a905a40ac253c1d2c1b4827de23..52a6e8754f733c2273440a3dd42cd7c3736100cc 100644 (file)
@@ -1,15 +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 <istream>
-#include <GL/gl.h>
+#include <msp/strings/lexicalcast.h>
+#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -28,7 +21,7 @@ enum PrimitiveType
        POLYGON        = GL_POLYGON
 };
 
-std::istream &operator>>(std::istream &in, PrimitiveType &pt);
+void operator>>(const LexicalConverter &, PrimitiveType &);
 
 } // namespace GL
 } // namespace Msp