map regions in origin

This commit is contained in:
Fabien Freling 2022-02-16 19:16:17 +01:00
parent 38e9a97a85
commit 4447cd67d1
7 changed files with 82 additions and 12 deletions

View file

@ -11,6 +11,7 @@ struct BoundingBox {
uint32_t height;
int area() const;
bool contains(int x, int y) const;
bool operator==(const BoundingBox& b) const;
};