3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
9 #include "meshbuilder.h"
14 MeshBuilder::MeshBuilder(Mesh &m):
15 PrimitiveBuilder(m.vertices),
20 void MeshBuilder::begin_()
25 void MeshBuilder::end_()
28 unsigned last=array.size();
29 for(unsigned i=first; i<last; ++i)
31 mesh.add_batch(batch);