fix threshold
This commit is contained in:
parent
6ba9add6ea
commit
2e6589e01b
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user