/* $Id$
This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2008, 2011 Mikko Rasa, Mikkosoft Productions
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