Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel - GLGizmoFlatten::PlaneData::vbo

This commit is contained in:
enricoturri1966 2022-02-09 09:08:37 +01:00
parent a74bea5a2d
commit ffa3a1d8fc
5 changed files with 94 additions and 14 deletions
src/slic3r/GUI

View file

@ -80,6 +80,9 @@ namespace GUI {
std::vector<unsigned char> indices;
ColorRGBA color{ ColorRGBA::BLACK() };
void reserve_vertices(size_t vertices_count);
void reserve_indices(size_t indices_count);
void add_vertex(const Vec2f& position);
void add_vertex(const Vec2f& position, const Vec2f& tex_coord);
void add_vertex(const Vec3f& position);