mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 02:48:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
024e769c3d
commit
70e4836108
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user