mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-11 05:18:26 +00:00
Inline redundant variable
This commit is contained in:
parent
8f3ad7b50d
commit
0069af64f3
@ -61,8 +61,9 @@ pub fn export_3mf(
|
|||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let indices = tri_mesh.indices().collect::<Vec<_>>();
|
let triangles = tri_mesh
|
||||||
let triangles = indices
|
.indices()
|
||||||
|
.collect::<Vec<_>>()
|
||||||
.chunks(3)
|
.chunks(3)
|
||||||
.map(|triangle| threemf::model::Triangle {
|
.map(|triangle| threemf::model::Triangle {
|
||||||
v1: triangle[0] as usize,
|
v1: triangle[0] as usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user