start packing
This commit is contained in:
parent
a2f07920c7
commit
8d91216f24
4 changed files with 62 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue