summaryrefslogtreecommitdiffhomepage
path: root/src/RTree-search.hpp
diff options
context:
space:
mode:
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>