void update_vbo();
-protected:
- virtual void update_vertex_data() override;
+ /* used by draw_normals to debug stuff: */
+ mutable unsigned int nvao;
+ mutable unsigned int nvbo;
public:
MeshGL();
virtual ~MeshGL();
virtual void draw() const override;
+ virtual void draw_normals(float scale) const override;
+ virtual bool update_vertex_data() override;
void destroy_vbo();
};