summaryrefslogtreecommitdiffhomepage
path: root/src/hole.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-26 10:13:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-26 10:13:57 +0200
commit67bec06c00b10f57d0d4701a357f29efe7520e3b (patch)
tree37abbfe48ce0c833a8dd8bce54397e41fb732e7d /src/hole.hpp
parent38345b767464de5f070bdcf48acbc6aa43439f8a (diff)
w
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;
};