diff --git a/primitive/box.cpp b/primitive/box.cpp index 9780b85..4a368fd 100644 --- a/primitive/box.cpp +++ b/primitive/box.cpp @@ -87,7 +87,7 @@ bool Box::intersect(Ray &ray) const ray.length = t; ray.primitive = this; - return false; + return true; } // Bounding box ////////////////////////////////////////////////////////////////