mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Remove redundant code
This commit is contained in:
parent
229be4336e
commit
5c3b5c736e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user