some cleanup from clippy
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m20s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m20s
This commit is contained in:
parent
b1458785e5
commit
1568223b9d
11 changed files with 30 additions and 38 deletions
|
@ -59,7 +59,7 @@ impl Scene for MainScene {
|
|||
let num_instances = 100;
|
||||
let instance_size = 10.0;
|
||||
let instance_spacing = 10.0;
|
||||
let num_instances_per_row = (num_instances as f32 / instance_spacing as f32).ceil() as u32;
|
||||
let num_instances_per_row = (num_instances as f32 / instance_spacing).ceil() as u32;
|
||||
let instances: Vec<Transform> = (0..num_instances)
|
||||
.map(|i| Transform {
|
||||
position: Vec3::new(
|
||||
|
@ -276,9 +276,7 @@ impl Scene for MainScene {
|
|||
});
|
||||
});
|
||||
|
||||
let render_future = gui.draw_on_image(render_future, swapchain_image_view.clone());
|
||||
|
||||
render_future
|
||||
gui.draw_on_image(render_future, swapchain_image_view.clone())
|
||||
});
|
||||
|
||||
Ok(render_future)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue