diff --git a/lib/common/src/bvh.rs b/lib/common/src/bvh.rs index 18dda2f..aa83d5f 100644 --- a/lib/common/src/bvh.rs +++ b/lib/common/src/bvh.rs @@ -25,6 +25,7 @@ impl Ray{ // t == (n.p - n.o)/n.d // divide by 0 might be bad // this is all wrong because it just does the planes + todo!(); [ (aabb.min().x-self.origin.x)/self.direction.x, (aabb.min().y-self.origin.y)/self.direction.y,