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