tentative working rayxocttree (no optimization)
This commit is contained in:
parent
a7df66d2df
commit
d1118af004
|
@ -605,6 +605,7 @@ pub fn test_ray_x_octtree() {
|
|||
let hitnorm = col.hit_data.normal.local.clone();
|
||||
let hitvox = hitloc - (hitnorm * 0.5);
|
||||
dbg!(hitvox.round());
|
||||
assert_eq!(hitvox.round(), path_local);
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -628,9 +629,9 @@ pub fn test_ray_x_octtree() {
|
|||
let hitnorm = col.hit_data.normal.local.clone();
|
||||
let hitvox = hitloc - (hitnorm * 0.5);
|
||||
dbg!(hitvox.round());
|
||||
assert_eq!(hitvox.round(), path_local);
|
||||
}
|
||||
}
|
||||
panic!();
|
||||
}
|
||||
#[test]
|
||||
pub fn test_ray_x_bounding_collisions() {
|
||||
|
|
Loading…
Reference in a new issue