mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 12:58:28 +00:00
Update name of method parameter
This commit is contained in:
parent
807692f497
commit
f120f32590
@ -88,7 +88,7 @@ impl Renderer {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn render(&self, mesh: &impl Operation) {
|
pub fn render(&self, operation: &impl Operation) {
|
||||||
let frame = self.surface.get_current_texture().unwrap();
|
let frame = self.surface.get_current_texture().unwrap();
|
||||||
let frame_view = frame
|
let frame_view = frame
|
||||||
.texture
|
.texture
|
||||||
@ -101,7 +101,7 @@ impl Renderer {
|
|||||||
let mut vertices = Vec::new();
|
let mut vertices = Vec::new();
|
||||||
|
|
||||||
let mut mesh_triangles = Vec::new();
|
let mut mesh_triangles = Vec::new();
|
||||||
mesh.triangles(&mut mesh_triangles);
|
operation.triangles(&mut mesh_triangles);
|
||||||
|
|
||||||
for triangle in &mesh_triangles {
|
for triangle in &mesh_triangles {
|
||||||
let triangle = triangle.vertices.map(|vertex| {
|
let triangle = triangle.vertices.map(|vertex| {
|
||||||
|
Loading…
Reference in New Issue
Block a user