summaryrefslogtreecommitdiffhomepage
path: root/src/hole-cut.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hole-cut.hpp')
-rw-r--r--src/hole-cut.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hole-cut.hpp b/src/hole-cut.hpp
index 6f4d5876..4ec5c168 100644
--- a/src/hole-cut.hpp
+++ b/src/hole-cut.hpp
@@ -12,7 +12,7 @@ struct CutResult
struct bbox { Vec2 position; Vector2ub bbox_size; };
struct rect { Vec2 min, max; };
- static CutResult cut(bbox input, bbox hole);
+ static CutResult cut(bbox input, bbox hole) requires std::is_signed_v<T>;
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);