Ejemplo n.º 1
0
 protected IntBounds RecalculateBounds()
 {
     _bounds = new IntBounds();
     foreach (var index in _grid.Keys)
     {
         ExtendBounds(index);
     }
     _boundsDirty = false;
     return(_bounds);
 }
Ejemplo n.º 2
0
 protected BaseSparseGrid()
 {
     _grid   = new Dictionary <TKey, TValue>();
     _bounds = new IntBounds();
 }