mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06:00
Support larger printer sizes by using 64-bit.
SuperSlicer is referenced for some changes. Co-authored-by: Merill <merill@free.fr>
This commit is contained in:
parent
5bceebdd9d
commit
9b2c2bff1d
87 changed files with 380 additions and 362 deletions
|
@ -209,10 +209,10 @@ GLModel::Geometry create_geometry(const TextLines &lines, float radius, bool is_
|
|||
|
||||
if (is_mirrored) {
|
||||
// change order of indices
|
||||
for (Vec3i t : its.indices)
|
||||
for (Vec3i32 t : its.indices)
|
||||
geometry.add_triangle(t[0], t[2], t[1]);
|
||||
} else {
|
||||
for (Vec3i t : its.indices)
|
||||
for (Vec3i32 t : its.indices)
|
||||
geometry.add_triangle(t[0], t[1], t[2]);
|
||||
}
|
||||
return geometry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue