- fixed bad default initialization of BoundingRect's coordinates.

This commit is contained in:
Christoph Oelckers 2019-02-06 09:25:45 +01:00
parent 5a2d6de296
commit c25e7897a7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ struct BoundingRect
void setEmpty() void setEmpty()
{ {
left = top = FLT_MAX; left = top = FLT_MAX;
bottom = right = FLT_MIN; bottom = right = -FLT_MAX;
} }
bool contains(const BoundingRect & other) const bool contains(const BoundingRect & other) const