]> git.tdb.fi Git - libs/gl.git/blobdiff - source/meshbuilder.h
Convert svn:ignore to .gitignore
[libs/gl.git] / source / meshbuilder.h
index dbeb0f52659c52eea077cf5ea8e0d574eb05a7d1..6118c6869f4fd0f6dd1d95149088380527007046 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Copyright © 2008, 2011  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -13,19 +13,22 @@ Distributed under the LGPL
 namespace Msp {
 namespace GL {
 
+class Batch;
 class Mesh;
 
 class MeshBuilder: public PrimitiveBuilder
 {
 private:
        Mesh  &mesh;
-       unsigned first;
+       Batch *batch;
 
 public:
        MeshBuilder(Mesh &);
+       void auto_offset();
 private:
        virtual void begin_();
        virtual void end_();
+       virtual void element_(unsigned);
 };
 
 } // namespace GL