mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-11 11:46:05 +00:00
Remove redundant code
This commit is contained in:
parent
f04983e6ad
commit
f9643a257b
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user