mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-11 03:32:24 +00:00
admesh refactoring: Use Eigen vec3i for indexed triangles.
This commit is contained in:
1 parent
313ec7424a
commit
af5017c46c
10 files changed
+369
-493
No files matched your search
@@ -129,9 +129,9 @@ TriangleMesh::facets()
|
||||
AV* facet = newAV();
|
||||
av_store(facets, i, newRV_noinc((SV*)facet));
|
||||
av_extend(facet, 2);
|
||||
av_store(facet, 0, newSVnv(THIS->its.indices[i].vertex[0]));
|
||||
av_store(facet, 1, newSVnv(THIS->its.indices[i].vertex[1]));
|
||||
av_store(facet, 2, newSVnv(THIS->its.indices[i].vertex[2]));
|
||||
av_store(facet, 0, newSVnv(THIS->its.indices[i][0]));
|
||||
av_store(facet, 1, newSVnv(THIS->its.indices[i][1]));
|
||||
av_store(facet, 2, newSVnv(THIS->its.indices[i][2]));
|
||||
}
|
||||
|
||||
RETVAL = newRV_noinc((SV*)facets);
|
||||
|
||||
Reference in new issue
Block a user