-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2008, 2010-2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "mesh.h"
#include "meshbuilder.h"
offset(mesh.get_vertices().size());
}
+void MeshBuilder::vertex_(const Vector4 &v)
+{
+ PrimitiveBuilder::vertex_(v);
+ mesh.check_buffers(Mesh::VERTEX_BUFFER);
+}
+
void MeshBuilder::begin_()
{
batch = new Batch(type);