Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-11-06 18:45:54 +01:00
parent d842ffe424
commit 54b308269e

View File

@ -192,7 +192,7 @@ impl Renderer {
let mut vertices = Vec::new();
let mesh_triangles = mesh.triangles();
for triangle in mesh_triangles {
for triangle in &mesh_triangles {
let triangle = triangle.map(|index| {
let mut mesh_vertices = Vec::new();
mesh.vertices(&mut mesh_vertices);