Remove redundant code

This commit is contained in:
Hanno Braun 2024-11-06 19:40:56 +01:00
parent 229be4336e
commit 5c3b5c736e

View File

@ -196,9 +196,6 @@ impl Renderer {
for triangle in &mesh_triangles {
let triangle = triangle.map(|vertex| {
let mut mesh_vertices = Vec::new();
mesh.vertices(&mut mesh_vertices);
Vec3::from(vertex.point.map(|coord| coord.value() as f32))
});
let normal = {