diff options
Diffstat (limited to 'src/hole-cut.hpp')
| -rw-r--r-- | src/hole-cut.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hole-cut.hpp b/src/hole-cut.hpp index 48a1b1fc..6f4d5876 100644 --- a/src/hole-cut.hpp +++ b/src/hole-cut.hpp @@ -14,10 +14,12 @@ struct CutResult static CutResult cut(bbox input, bbox hole); static CutResult cut(Vec2 r0, Vec2 r1, Vec2 h0, Vec2 h1); + static CutResult cutʹ(Vec2 r0, Vec2 r1, Vec2 h0, Vec2 h1, uint8_t s); + uint8_t s = (uint8_t)-1, size = 0; std::array<rect, 8> array; - uint8_t size = 0; - bool found = false; + + bool found() const; }; } // namespace floormat |
