projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quick backup
[demo]
/
src
/
opengl
/
mesh-gl.h
diff --git
a/src/opengl/mesh-gl.h
b/src/opengl/mesh-gl.h
index
f935a59
..
78d415a
100644
(file)
--- 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();
};