mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Add unit test for split()
This commit is contained in:
parent
3919ba83d8
commit
28b043e9a9
5 changed files with 29 additions and 7 deletions
|
@ -41,6 +41,8 @@ TriangleMesh::stats()
|
|||
SV*
|
||||
TriangleMesh::vertices()
|
||||
CODE:
|
||||
if (!THIS->repaired) CONFESS("vertices() requires Repair()");
|
||||
|
||||
if (THIS->stl.v_shared == NULL)
|
||||
stl_generate_shared_vertices(&(THIS->stl));
|
||||
|
||||
|
@ -63,6 +65,8 @@ TriangleMesh::vertices()
|
|||
SV*
|
||||
TriangleMesh::facets()
|
||||
CODE:
|
||||
if (!THIS->repaired) CONFESS("facets() requires Repair()");
|
||||
|
||||
if (THIS->stl.v_shared == NULL)
|
||||
stl_generate_shared_vertices(&(THIS->stl));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue