diff --git a/fyrox-impl/src/utils/raw_mesh.rs b/fyrox-impl/src/utils/raw_mesh.rs index 14469cdc4..7e60c590a 100644 --- a/fyrox-impl/src/utils/raw_mesh.rs +++ b/fyrox-impl/src/utils/raw_mesh.rs @@ -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(), }