From c25e7897a78365462890a31cb65870663c64a5c9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 6 Feb 2019 09:25:45 +0100 Subject: [PATCH] - fixed bad default initialization of BoundingRect's coordinates. --- src/r_data/r_sections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data/r_sections.h b/src/r_data/r_sections.h index c971cb09bc..fcd7cd3b2a 100644 --- a/src/r_data/r_sections.h +++ b/src/r_data/r_sections.h @@ -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