]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.h
Use constructor delegation instead of init functions when possible
[libs/gl.git] / source / core / mesh.h
index 0cebaa69c28ce92917d796afe4e034e5434c4611..39bf55b22d5129f0725f11a44233f48be28556d9 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef MSP_GL_MESH_H_
 #define MSP_GL_MESH_H_
 
+#include <string>
+#include <vector>
 #include <msp/datafile/objectloader.h>
 #include "batch.h"
 #include "cullface.h"
@@ -75,9 +77,6 @@ private:
 public:
        Mesh(ResourceManager * = 0);
        Mesh(const VertexFormat &, ResourceManager * = 0);
-private:
-       void init(ResourceManager *);
-public:
        ~Mesh();
 
        void storage(const VertexFormat &);