summaryrefslogtreecommitdiffhomepage
path: root/src/hole.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hole.hpp')
-rw-r--r--src/hole.hpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/hole.hpp b/src/hole.hpp
index 35fd29d9..927c2b61 100644
--- a/src/hole.hpp
+++ b/src/hole.hpp
@@ -57,19 +57,4 @@ private:
void maybe_mark_neighbor_chunks_modified() override;
};
-template<typename T>
-struct CutResult
-{
- using Vec2 = VectorTypeFor<2, T>;
- struct bbox { Vec2 position; Vector2ub bbox_size; };
- struct rect { Vec2 min, max; };
-
- static CutResult cut(bbox input, bbox hole);
- static CutResult cut(Vec2 r0, Vec2 r1, Vec2 h0, Vec2 h1);
-
- std::array<rect, 8> array;
- uint8_t size = 0;
- bool found = false;
-};
-
} // namespace floormat