mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-11 22:50:08 +00:00
cargo fmt
This commit is contained in:
@@ -177,7 +177,9 @@ where
|
||||
vertices: vertices.into_iter().map(|w| w.vertex).collect(),
|
||||
triangles: self
|
||||
.indices
|
||||
.as_chunks::<3>().0.iter()
|
||||
.as_chunks::<3>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|i| TriangleDefinition([i[0], i[1], i[2]]))
|
||||
.collect(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user