mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 03:18:30 +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 {
|
for triangle in &mesh_triangles {
|
||||||
let triangle = triangle.map(|vertex| {
|
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))
|
Vec3::from(vertex.point.map(|coord| coord.value() as f32))
|
||||||
});
|
});
|
||||||
let normal = {
|
let normal = {
|
||||||
|
Loading…
Reference in New Issue
Block a user