From fb8061125f48cdee5df79c2fb8066642dce45e84 Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 3 Jul 2018 11:08:41 +0200 Subject: [PATCH] minor change --- geo/BBox2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geo/BBox2.h b/geo/BBox2.h index 05ee2d1..b24e1c7 100644 --- a/geo/BBox2.h +++ b/geo/BBox2.h @@ -106,7 +106,7 @@ public: } - BBox2 intersection(const BBox2& o) { + BBox2 intersection(const BBox2& o) const { // TODO is this correct? const float x1 = std::max(p1.x, o.p1.x); const float x2 = std::min(p2.x, o.p2.x);