Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-11-06 18:34:09 +01:00
parent a7624deead
commit 0917b95fb8

View File

@ -193,8 +193,10 @@ impl Renderer {
for triangle in mesh.triangles() {
let triangle = triangle.map(|index| {
let mesh_vertices = mesh.vertices();
Vec3::from(
mesh.vertices()
mesh_vertices
.get(index as usize)
.unwrap()
.point