diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 15:33:51 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-06 17:19:00 +0200 |
| commit | c489a322b944da55dabd18db60a46e5f314c5d5d (patch) | |
| tree | 49cec7dbca28bd6aa774e43f5ee4d0df560c06b9 /test | |
| parent | fa424ed568dec80bc845b2f4bdf330142e2f4710 (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 8bfb8c8a..7ccc86c3 100644 --- a/test/hole.cpp +++ b/test/hole.cpp @@ -4,13 +4,13 @@ namespace floormat { namespace { -using bbox = cut_rectangle_result<Int>::bbox; +using bbox = CutResult<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_result<Int>::cut(rectʹ, holeʹ).size; + return CutResult<Int>::cut(rectʹ, holeʹ).size; } void test1(Vector2i offset) |
