summaryrefslogtreecommitdiffhomepage
path: root/src/hole.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hole.hpp')
-rw-r--r--src/hole.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/hole.hpp b/src/hole.hpp
index bf01ccd2..b7499ced 100644
--- a/src/hole.hpp
+++ b/src/hole.hpp
@@ -20,17 +20,11 @@ struct hole : object
struct cut_rectangle_result
{
- struct bbox
- {
- Vector2i position;
- Vector2ub bbox_size;
- };
-
+ struct bbox { Vector2i position; Vector2ub bbox_size; };
struct rect { Vector2i min, max; };
- uint8_t code = 0;
uint8_t size = 0;
- std::array<rect, 8> ret;
+ std::array<rect, 8> array;
operator ArrayView<const bbox>() const;
};