From 0a0acb3155fb553d6b4c594f89a7326fb459299b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20GINIER?= Date: Sat, 2 Nov 2024 03:11:57 +0100 Subject: [PATCH] Fix header namespace closure Only relevant when TINYBVH_IMPLEMENTATION isn't defined --- tiny_bvh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiny_bvh.h b/tiny_bvh.h index 140b1d0..93ccd2a 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -753,10 +753,10 @@ float BVH::IntersectAABB( const Ray& ray, const bvhvec3& aabbMin, const bvhvec3& if (tmax >= tmin && tmin < ray.hit.t && tmax >= 0) return tmin; else return 1e30f; } -#endif - } // namespace tinybvh #endif +#endif + // EOF