Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Added method void init_from(const TriangleMesh& mesh) to GLModel

This commit is contained in:
enricoturri1966 2022-01-27 13:45:30 +01:00
parent 9d764bfeac
commit 5db3c66cf7
4 changed files with 18 additions and 7 deletions
src/slic3r/GUI

View file

@ -188,6 +188,7 @@ namespace GUI {
size_t indices_size_bytes() const { return indices_count() * Geometry::index_stride_bytes(m_render_data.geometry.format); }
void init_from(Geometry&& data);
void init_from(const TriangleMesh& mesh);
#else
void init_from(const Geometry& data);
void init_from(const indexed_triangle_set& its, const BoundingBoxf3& bbox);