summaryrefslogtreecommitdiffhomepage
path: root/src/RTree-search.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-06 07:34:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-06 07:47:52 +0200
commit714a68e8b141fac71a2892089979acd905ed316d (patch)
tree3baf4f2f5d25237626654e70436e0cde6df96116 /src/RTree-search.hpp
parent42d49d70a7bfa8a40ca5d366c50d411a4fc5b48c (diff)
w
Diffstat (limited to 'src/RTree-search.hpp')
-rw-r--r--src/RTree-search.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/RTree-search.hpp b/src/RTree-search.hpp
index 47c53592..4b824cd6 100644
--- a/src/RTree-search.hpp
+++ b/src/RTree-search.hpp
@@ -1,18 +1,6 @@
#pragma once
#include "compat/assert.hpp"
#include "RTree.h"
-#include <Magnum/Magnum.h>
-#include <Magnum/Math/Vector2.h>
-
-namespace floormat {
-
-constexpr inline bool rect_intersects(Vector2 min1, Vector2 max1, Vector2 min2, Vector2 max2)
-{
- return min1.x() < max2.x() && max1.x() > min2.x() &&
- min1.y() < max2.y() && max1.y() > min2.y();
-}
-
-} // namespace floormat
RTREE_TEMPLATE
template<typename F>