tentative working rayxocttree (no optimization)

This commit is contained in:
Lillian Vixe 2024-03-27 08:09:52 -07:00
parent a7df66d2df
commit d1118af004

View file

@ -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() {