aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/RegularGrid.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-12-11 19:44:03 +0100
committerOvahlord <dreadkiller@gmx.de>2024-12-12 19:59:07 +0100
commitc7f09e01719ad081548a5f46f5f6614a02334e6e (patch)
treefec7ecf821e467f639c5334b08c057edad401e73 /src/common/Collision/RegularGrid.h
parent3d680ff9baaa0a837d8e8fea185554c16fea97da (diff)
Core/Vmaps: Minor cleanup (formatting) and documentation updates for BIH::build copy vs move choice
(cherry picked from commit 62dbb0619b552d22ec35f89249553b518af609b7)
Diffstat (limited to 'src/common/Collision/RegularGrid.h')
-rw-r--r--src/common/Collision/RegularGrid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Collision/RegularGrid.h b/src/common/Collision/RegularGrid.h
index 953ddd44a35..0110a17f412 100644
--- a/src/common/Collision/RegularGrid.h
+++ b/src/common/Collision/RegularGrid.h
@@ -66,7 +66,7 @@ public:
void insert(const T& value)
{
- G3D::AABox bounds;
+ G3D::AABox bounds = G3D::AABox::empty();
BoundsFunc::getBounds(value, bounds);
Cell low = Cell::ComputeCell(bounds.low().x, bounds.low().y);
Cell high = Cell::ComputeCell(bounds.high().x, bounds.high().y);