X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmesh.h;h=044e70843d345aa06b960cfdb3697c93a9053584;hb=cd446554e998204eaba22504b7b28227feb8edbb;hp=0a4142fea1eebf02f326b9615a4fc5c904ad142b;hpb=76e338af116120d93d082ad247591ec9adad9233;p=libs%2Fgl.git diff --git a/source/mesh.h b/source/mesh.h index 0a4142fe..044e7084 100644 --- a/source/mesh.h +++ b/source/mesh.h @@ -8,7 +8,7 @@ Distributed under the LGPL #ifndef MSP_GL_MESH_H_ #define MSP_GL_MESH_H_ -#include +#include #include "batch.h" #include "vertexarray.h" @@ -22,13 +22,11 @@ class Mesh friend class MeshBuilder; public: - class Loader: public DataFile::Loader + class Loader: public DataFile::ObjectLoader { public: Loader(Mesh &); private: - Mesh &mesh; - void vertices(VertexFormat); void batch(PrimitiveType); };