- 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

View file

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