summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-bbox.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-25 04:45:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-25 04:48:09 +0100
commit50e42d74c9b25e2ec4c6b9fd3434f431c0b5c3d9 (patch)
tree826691d937867e21587fd87adb2de6d34175eecd /src/path-search-bbox.hpp
parent4746d19f7a749808391d1ad7ee6bd86950ba064f (diff)
rename path_search -> search
Diffstat (limited to 'src/path-search-bbox.hpp')
-rw-r--r--src/path-search-bbox.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/path-search-bbox.hpp b/src/path-search-bbox.hpp
deleted file mode 100644
index 05ed726d..00000000
--- a/src/path-search-bbox.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-#include "path-search.hpp"
-#include <concepts>
-#include <Magnum/Math/Vector2.h>
-#include <Magnum/DimensionTraits.h>
-
-namespace floormat::detail_astar {
-
-template<typename T> struct bbox
-{
- static_assert(std::is_arithmetic_v<T>);
-
- VectorTypeFor<2, T> min, max;
-
- constexpr bool operator==(const bbox<T>&) const = default;
-
- template<typename U>
- requires std::is_arithmetic_v<U>
- explicit constexpr operator bbox<U>() const {
- using Vec = VectorTypeFor<2, U>;
- return bbox<U>{ Vec(min), Vec(max) };
- }
-};
-
-} // namespace floormat::detail_astar