diff --git a/geom/aabb.hpp b/geom/aabb.hpp index b37ca6ab..40671808 100644 --- a/geom/aabb.hpp +++ b/geom/aabb.hpp @@ -70,7 +70,7 @@ namespace cruft::geom { { point res; for (std::size_t i = 0; i < S; ++i) - res[i] = (lo[i] + hi[i] / 2); + res[i] = (lo[i] + hi[i]) / 2; return res; }