projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick backup of the renderer - things missing
[demo]
/
src
/
opengl
/
mesh-gl.h
diff --git
a/src/opengl/mesh-gl.h
b/src/opengl/mesh-gl.h
index
912257c
..
f935a59
100644
(file)
--- a/
src/opengl/mesh-gl.h
+++ b/
src/opengl/mesh-gl.h
@@
-9,6
+9,8
@@
private:
unsigned int vbo_vertices;
unsigned int vbo_normals;
unsigned int vbo_vertices;
unsigned int vbo_normals;
+ unsigned int vbo_tex_coords;
+
unsigned int ibo;
int num_vertices;
unsigned int ibo;
int num_vertices;
@@
-21,7
+23,7
@@
public:
virtual ~MeshGL();
virtual ~MeshGL();
- // virtual void draw() const override;
+ virtual void draw() const override;
virtual void update_vertex_data() override;
void update_vbo();
virtual void update_vertex_data() override;
void update_vbo();