]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Add append() method and and operator[] to VertexArray
[libs/gl.git] / source / mesh.h
index 2a5ce47476a61807cccec7c4566ec5eb3ade322d..e3753f8b867ce1516f66b680d5cc488142430209 100644 (file)
@@ -10,7 +10,6 @@ Distributed under the LGPL
 
 #include <msp/datafile/loader.h>
 #include "batch.h"
-#include "meshbuilder.h"
 #include "vertexarray.h"
 
 namespace Msp {
@@ -39,7 +38,8 @@ private:
 public:
        Mesh();
        Mesh(VertexFormat f);
-       RefPtr<MeshBuilder> modify();
+
+       void use_vertex_buffer(bool);
        const VertexArray &get_vertices() const { return vertices; }
        void add_batch(const Batch &b);
        const std::list<Batch> &get_batches() { return batches; }