From 2e6589e01bd69abcfb551d233a88908e81b42c82 Mon Sep 17 00:00:00 2001 From: numzero Date: Tue, 18 Nov 2025 19:45:56 +0300 Subject: [PATCH] fix threshold --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 420e73f..09f5e5a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -252,7 +252,7 @@ impl Core { let mut value = 0.0f32; for light_hit in &hits { let d2 = hit.incident.base.distance_squared(light_hit.incident.base); - if d2 > 3. * sigma2 { + if d2 > 9. * sigma2 { continue; } assert!(hit.incident.dir.is_normalized());