diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 07:34:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 07:47:52 +0200 |
commit | 714a68e8b141fac71a2892089979acd905ed316d (patch) | |
tree | 3baf4f2f5d25237626654e70436e0cde6df96116 /test | |
parent | 42d49d70a7bfa8a40ca5d366c50d411a4fc5b48c (diff) |
w
Diffstat (limited to 'test')
-rw-r--r-- | test/hole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hole.cpp b/test/hole.cpp index 50e9b8f0..fdcfdfec 100644 --- a/test/hole.cpp +++ b/test/hole.cpp @@ -4,13 +4,13 @@ namespace floormat { namespace { -using bbox = cut_rectangle_result::bbox; +using bbox = cut_rectangle_result<Int>::bbox; auto cut(bbox rect, bbox hole, Vector2i offset) { auto rectʹ = bbox { rect.position + offset, rect.bbox_size }; auto holeʹ = bbox { hole.position + offset, hole.bbox_size }; - return cut_rectangle(rectʹ, holeʹ).size; + return cut_rectangle_result<Int>::cut(rectʹ, holeʹ).size; } void test1(Vector2i offset) |