mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Do not store normals and save a lot of memory
This commit is contained in:
parent
74c00cdb7a
commit
3c8dbcef4a
4 changed files with 21 additions and 21 deletions
|
|
@ -74,7 +74,7 @@ sub write_file {
|
|||
foreach my $facet (@{$mesh->facets}) {
|
||||
printf $fh qq{ <triangle>\n};
|
||||
printf $fh qq{ <v%d>%d</v%d>\n}, $_, $facet->[$_] + $vertices_offset{$mesh}, $_
|
||||
for 1..3;
|
||||
for -3..-1;
|
||||
printf $fh qq{ </triangle>\n};
|
||||
}
|
||||
printf $fh qq{ </volume>\n};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue