]> git.tdb.fi Git - libs/gl.git/blobdiff - source/meshbuilder.h
Add functions for setting arrays of 2x2 and 3x3 matrix uniforms
[libs/gl.git] / source / meshbuilder.h
index c8354b9e0d3f3f5b6dd5fdeb3f7d77f7d3cdf989..0755eeb20ba6096d1bf524279194eb7d97940a3b 100644 (file)
@@ -1,10 +1,3 @@
-/* $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_
 
@@ -19,11 +12,12 @@ class Mesh;
 class MeshBuilder: public PrimitiveBuilder
 {
 private:
-       Mesh  &mesh;
+       Mesh &mesh;
        Batch *batch;
 
 public:
        MeshBuilder(Mesh &);
+       void auto_offset();
 private:
        virtual void begin_();
        virtual void end_();