mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-11 03:32:24 +00:00
Add unit test for split()
This commit is contained in:
1 parent
3919ba83d8
commit
28b043e9a9
5 files changed
+29
-7
No files matched your search
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user