Resolve all warnings.

This commit is contained in:
hal8174 2025-05-28 19:27:55 +02:00
parent 86d009fb4c
commit 96e7085e37
Signed by: hal8174
SSH key fingerprint: SHA256:JwuqS+eVfISfKr+DkDQ6NWAbGd1jFAHkPpCM1yCnlTs
10 changed files with 92 additions and 86 deletions

View file

@ -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>