use raygui
This commit is contained in:
parent
8d91216f24
commit
81463d9eb0
9 changed files with 4589 additions and 83 deletions
|
@ -32,18 +32,18 @@ int main(int argc, const char* argv[]) {
|
|||
}
|
||||
|
||||
int i = 2;
|
||||
std::vector<BoundingBox> bboxes;
|
||||
std::vector<freling::BoundingBox> bboxes;
|
||||
bboxes.reserve((argc - 2) / 4);
|
||||
while (i < argc) {
|
||||
const uint32_t x1 = atoi(argv[i]);
|
||||
const uint32_t y1 = atoi(argv[i + 1]);
|
||||
const uint32_t x2 = atoi(argv[i + 2]);
|
||||
const uint32_t y2 = atoi(argv[i + 3]);
|
||||
bboxes.push_back(BoundingBox({x1, y1, x2, y2}));
|
||||
bboxes.push_back(freling::BoundingBox({x1, y1, x2, y2}));
|
||||
i += 4;
|
||||
}
|
||||
|
||||
Frame regions = pack(*in_frame, bboxes);
|
||||
std::optional<Frame> regions = pack(*in_frame, bboxes);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue