Resolve all warnings.
This commit is contained in:
parent
86d009fb4c
commit
96e7085e37
10 changed files with 92 additions and 86 deletions
|
|
@ -23,6 +23,7 @@ use vulkano::{
|
|||
|
||||
type DynRenderer =
|
||||
dyn ClassicalRenderer<SmallRng, Box<dyn Scene<SmallRng> + Sync>, BasicCamera> + Sync;
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub const RENDERER: [(&str, fn(u32, u32) -> Box<DynRenderer>); 5] = [
|
||||
("Depth", |w, h| {
|
||||
Box::new(DepthRenderer::new(w, h)) as Box<DynRenderer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue