Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Added method void init_from(const TriangleMesh& mesh) to GLModel
This commit is contained in:
parent
9d764bfeac
commit
5db3c66cf7
4 changed files with 18 additions and 7 deletions
src/slic3r/GUI
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue