mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +00:00
Make name of function parameter more explicit
This commit is contained in:
parent
8fc8453f57
commit
2199a3d523
@ -87,9 +87,12 @@ impl Renderer {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn render(&mut self, operation: &impl Operation) -> anyhow::Result<()> {
|
||||
let vertices = Geometry::vertices(&self.device, operation);
|
||||
let triangles = Geometry::triangles(&self.device, operation);
|
||||
pub fn render(
|
||||
&mut self,
|
||||
selected_operation: &impl Operation,
|
||||
) -> anyhow::Result<()> {
|
||||
let vertices = Geometry::vertices(&self.device, selected_operation);
|
||||
let triangles = Geometry::triangles(&self.device, selected_operation);
|
||||
|
||||
let mut encoder = self
|
||||
.device
|
||||
|
Loading…
Reference in New Issue
Block a user