X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmeshbuilder.h;fp=source%2Fmeshbuilder.h;h=dbeb0f52659c52eea077cf5ea8e0d574eb05a7d1;hp=0000000000000000000000000000000000000000;hb=6b31fae3191e88fe391c3d3eebbf3e56789dd3e3;hpb=e92458a4a0e6191bff549a8b316dbbbd7c56e90f diff --git a/source/meshbuilder.h b/source/meshbuilder.h new file mode 100644 index 00000000..dbeb0f52 --- /dev/null +++ b/source/meshbuilder.h @@ -0,0 +1,34 @@ +/* $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_ + +#include "primitivebuilder.h" + +namespace Msp { +namespace GL { + +class Mesh; + +class MeshBuilder: public PrimitiveBuilder +{ +private: + Mesh &mesh; + unsigned first; + +public: + MeshBuilder(Mesh &); +private: + virtual void begin_(); + virtual void end_(); +}; + +} // namespace GL +} // namespace Msp + +#endif