mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Update name of function parameter
This commit is contained in:
parent
1c47574e8c
commit
229be4336e
@ -195,11 +195,11 @@ impl Renderer {
|
||||
mesh.triangles(&mut mesh_triangles);
|
||||
|
||||
for triangle in &mesh_triangles {
|
||||
let triangle = triangle.map(|index| {
|
||||
let triangle = triangle.map(|vertex| {
|
||||
let mut mesh_vertices = Vec::new();
|
||||
mesh.vertices(&mut mesh_vertices);
|
||||
|
||||
Vec3::from(index.point.map(|coord| coord.value() as f32))
|
||||
Vec3::from(vertex.point.map(|coord| coord.value() as f32))
|
||||
});
|
||||
let normal = {
|
||||
let [a, b, c] = triangle;
|
||||
|
Loading…
Reference in New Issue
Block a user