diff --git a/clovers-cli/src/draw_cpu.rs b/clovers-cli/src/draw_cpu.rs index de78c2b9..22d0c949 100644 --- a/clovers-cli/src/draw_cpu.rs +++ b/clovers-cli/src/draw_cpu.rs @@ -86,6 +86,8 @@ fn sample( let ray: Ray = scene.camera.get_ray(u, v, rng); let new_color = colorize(&ray, scene, 0, max_depth, rng); if new_color.is_finite() { + // helper when experimentally switching between XYZ and RGB in colorize.rs + #[allow(clippy::useless_conversion)] return Some(new_color.into()); } None