Remove redundant code

This commit is contained in:
Hanno Braun 2024-11-05 18:03:30 +01:00
parent f04983e6ad
commit f9643a257b

View File

@ -7,7 +7,7 @@ pub fn export(mesh: &Mesh) -> anyhow::Result<()> {
.vertices()
.iter()
.copied()
.map(|vertex| vertex.point.map(Into::into))
.map(|vertex| vertex.point)
.map(|[x, y, z]| threemf::model::Vertex { x, y, z })
.collect();