]> git.tdb.fi Git - libs/gl.git/blob - source/meshbuilder.h
Add the meshbuilder.* files too
[libs/gl.git] / source / meshbuilder.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_MESHBUILDER_H_
9 #define MSP_GL_MESHBUILDER_H_
10
11 #include "primitivebuilder.h"
12
13 namespace Msp {
14 namespace GL {
15
16 class Mesh;
17
18 class MeshBuilder: public PrimitiveBuilder
19 {
20 private:
21         Mesh  &mesh;
22         unsigned first;
23
24 public:
25         MeshBuilder(Mesh &);
26 private:
27         virtual void begin_();
28         virtual void end_();
29 };
30
31 } // namespace GL
32 } // namespace Msp
33
34 #endif