todo
This commit is contained in:
parent
a77b2fd78f
commit
5b710b531e
@ -25,6 +25,7 @@ impl Ray{
|
|||||||
// t == (n.p - n.o)/n.d
|
// t == (n.p - n.o)/n.d
|
||||||
// divide by 0 might be bad
|
// divide by 0 might be bad
|
||||||
// this is all wrong because it just does the planes
|
// this is all wrong because it just does the planes
|
||||||
|
todo!();
|
||||||
[
|
[
|
||||||
(aabb.min().x-self.origin.x)/self.direction.x,
|
(aabb.min().x-self.origin.x)/self.direction.x,
|
||||||
(aabb.min().y-self.origin.y)/self.direction.y,
|
(aabb.min().y-self.origin.y)/self.direction.y,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user