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
committerShauren <shauren.trinity@gmail.com>2024-12-11 19:44:03 +0100
commit62dbb0619b552d22ec35f89249553b518af609b7 (patch)
treeee74ab4b6e3c9b9d8fd0aba24d840d1a4ad6751b /src/common/Collision/RegularGrid.h
parentd27abec9e8aab9664c810ed00134c1cbe7afdb08 (diff)
Core/Vmaps: Minor cleanup (formatting) and documentation updates for BIH::build copy vs move choice
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);