From 5b710b531ebb1ba98687fe628c1409be2e2bd8ed Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Thu, 6 Feb 2025 13:43:31 -0800 Subject: [PATCH] todo --- lib/common/src/bvh.rs | 1 + 1 file changed, 1 insertion(+) 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,