Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-11-06 19:05:41 +01:00
parent 024e769c3d
commit 70e4836108

View File

@ -13,11 +13,8 @@ pub fn export(mesh: &Mesh) -> anyhow::Result<()> {
vertices: threemf::model::Vertices {
vertex: mesh_vertices
.into_iter()
.map(|Vertex { point: [x, y, z] }| threemf::model::Vertex {
x,
y,
z,
})
.map(|Vertex { point }| point)
.map(|[x, y, z]| threemf::model::Vertex { x, y, z })
.collect(),
},
triangles: threemf::model::Triangles {