diff --git a/src/pe/raytracing/Intersects.h b/src/pe/raytracing/Intersects.h index d8ffff061bc7a9d02ea9a506c01a799c96e65685..0bba3fbd71e5f83218a9958528050ca22028ae9c 100644 --- a/src/pe/raytracing/Intersects.h +++ b/src/pe/raytracing/Intersects.h @@ -189,10 +189,8 @@ inline bool intersects(const BoxID box, const Ray& ray, real_t& t, Vec3& n) { if (transformedRay.getDirection() * n > 0) { n = -n; - } - + } n = box->vectorFromBFtoWF(n); - WALBERLA_LOG_INFO("t_: " << t_ << ", n: " << n); t = t_; return true;