mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 10:58:28 +00:00
Update name of variable
This commit is contained in:
parent
fee497718f
commit
e1d4de9f55
@ -166,10 +166,10 @@ impl Renderer {
|
|||||||
coords: mesh.vertices()[index as usize],
|
coords: mesh.vertices()[index as usize],
|
||||||
});
|
});
|
||||||
|
|
||||||
for vertex in triangle {
|
for point in triangle {
|
||||||
let index = vertices.len() as u32;
|
let index = vertices.len() as u32;
|
||||||
let vertex = Vertex {
|
let vertex = Vertex {
|
||||||
position: vertex.coords,
|
position: point.coords,
|
||||||
};
|
};
|
||||||
|
|
||||||
indices.push(index);
|
indices.push(index);
|
||||||
|
Loading…
Reference in New Issue
Block a user