Fixes return value for box collision
This commit is contained in:
parent
1531a0f2c7
commit
4458492a42
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ bool Box::intersect(Ray &ray) const
|
|||
ray.length = t;
|
||||
ray.primitive = this;
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Bounding box ////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue