From 40868868dd7ba77099637a23140bf90f9148c34d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 9 Sep 2024 14:42:29 +0200 Subject: src/hole: prep for wall hole rendering --- src/hole-cut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/hole-cut.cpp b/src/hole-cut.cpp index 70f4ad34..7e580e9f 100644 --- a/src/hole-cut.cpp +++ b/src/hole-cut.cpp @@ -142,13 +142,13 @@ template [[nodiscard]] constexpr bool check_empty(Vec2ʹ r0, Vec2ʹ r1, Vec2ʹ h0, Vec2ʹ h1) { - bool iempty = r0.x() == r1.x() | r0.y() == r1.y(); + //bool iempty = r0.x() == r1.x() | r0.y() == r1.y(); bool hempty = h0.x() == h1.x() | h0.y() == h1.y(); bool empty_before_x = h1.x() <= r0.x(); bool empty_after_x = h0.x() >= r1.x(); bool empty_before_y = h1.y() <= r0.y(); bool empty_after_y = h0.y() >= r1.y(); - return iempty | hempty | empty_before_x | empty_after_x | empty_before_y | empty_after_y; + return /*iempty |*/ hempty | empty_before_x | empty_after_x | empty_before_y | empty_after_y; } template -- cgit v1.2.3