Finer grained traces in flat subregions
This commit is contained in:
parent
32a2995e7b
commit
01331350e4
|
|
@ -236,7 +236,7 @@ impl DebugTraceable for Space {
|
||||||
let Some(ray_outta_flat) = ret.end else {
|
let Some(ray_outta_flat) = ret.end else {
|
||||||
return (hits, RayPath { points });
|
return (hits, RayPath { points });
|
||||||
};
|
};
|
||||||
points.extend(self.line(ray_into_flat.pos, ray_outta_flat.pos, 10.0));
|
points.extend(self.line(ray_into_flat.pos, ray_outta_flat.pos, 1.0));
|
||||||
ray = ray_outta_flat;
|
ray = ray_outta_flat;
|
||||||
}
|
}
|
||||||
panic!("tracing didn't terminate");
|
panic!("tracing didn't terminate");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user