6 class MeshGL : public Mesh {
10 unsigned int vbo_vertices;
11 unsigned int vbo_normals;
12 unsigned int vbo_tex_coords;
21 /* used by draw_normals to debug stuff: */
22 mutable unsigned int nvao;
23 mutable unsigned int nvbo;
27 MeshGL(const MeshGL &mesh);
28 MeshGL& operator=(const MeshGL &mesh);
32 virtual void draw() const override;
33 virtual void draw_normals(float scale) const override;
34 virtual bool update_vertex_data() override;