]> git.tdb.fi Git - libs/gl.git/blobdiff - source/meshbuilder.h
Add the meshbuilder.* files too
[libs/gl.git] / source / meshbuilder.h
diff --git a/source/meshbuilder.h b/source/meshbuilder.h
new file mode 100644 (file)
index 0000000..dbeb0f5
--- /dev/null
@@ -0,0 +1,34 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#ifndef MSP_GL_MESHBUILDER_H_
+#define MSP_GL_MESHBUILDER_H_
+
+#include "primitivebuilder.h"
+
+namespace Msp {
+namespace GL {
+
+class Mesh;
+
+class MeshBuilder: public PrimitiveBuilder
+{
+private:
+       Mesh  &mesh;
+       unsigned first;
+
+public:
+       MeshBuilder(Mesh &);
+private:
+       virtual void begin_();
+       virtual void end_();
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif