Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel - GLGizmoFlatten::PlaneData::vbo
This commit is contained in:
parent
a74bea5a2d
commit
ffa3a1d8fc
5 changed files with 94 additions and 14 deletions
src/slic3r/GUI
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue