X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fopengl%2Fmesh-gl.h;h=78d415a54652b81ce8f45ba5bd42986bc79f4e79;hb=3bf3536271e4afa8a8a93c75e2ab1256c0bf718a;hp=f935a59e615f1a49ae9e5b89342a10bf52d8a1e6;hpb=0da7a98f74d00bfa6cf0d47fd7cf0f687eeba5f6;p=demo diff --git a/src/opengl/mesh-gl.h b/src/opengl/mesh-gl.h index f935a59..78d415a 100644 --- a/src/opengl/mesh-gl.h +++ b/src/opengl/mesh-gl.h @@ -16,6 +16,8 @@ private: int num_vertices; int num_indices; + void update_vbo(); + public: MeshGL(); MeshGL(const MeshGL &mesh); @@ -26,7 +28,6 @@ public: virtual void draw() const override; virtual void update_vertex_data() override; - void update_vbo(); void destroy_vbo(); };