Update name of variable

This commit is contained in:
Hanno Braun 2024-10-31 21:57:07 +01:00
parent fee497718f
commit e1d4de9f55

View File

@ -166,10 +166,10 @@ impl Renderer {
coords: mesh.vertices()[index as usize], coords: mesh.vertices()[index as usize],
}); });
for vertex in triangle { for point in triangle {
let index = vertices.len() as u32; let index = vertices.len() as u32;
let vertex = Vertex { let vertex = Vertex {
position: vertex.coords, position: point.coords,
}; };
indices.push(index); indices.push(index);