start packing

This commit is contained in:
Fabien Freling 2022-02-14 00:13:09 +01:00
parent a2f07920c7
commit 8d91216f24
4 changed files with 62 additions and 1 deletions

View file

@ -7,4 +7,10 @@ struct BoundingBox {
uint32_t top;
uint32_t right;
uint32_t bottom;
int width() const;
int height() const;
int area() const;
bool operator==(const BoundingBox& b) const;
};