int num_vertices;
int num_indices;
+ void update_vbo();
+
+protected:
+ virtual void update_vertex_data() override;
+
public:
MeshGL();
MeshGL(const MeshGL &mesh);
virtual ~MeshGL();
virtual void draw() const override;
- virtual void update_vertex_data() override;
- void update_vbo();
void destroy_vbo();
};