diff options
Diffstat (limited to 'src/common/Collision/RegularGrid.h')
-rw-r--r-- | src/common/Collision/RegularGrid.h | 2 |
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); |