| 249 | } |
| 250 | |
| 251 | ForestCell* ForestData::_findBucket( const Point2I &key ) const |
| 252 | { |
| 253 | BucketTable::ConstIterator iter = mBuckets.find( key ); |
| 254 | |
| 255 | if ( iter != mBuckets.end() ) |
| 256 | return iter->value; |
| 257 | else |
| 258 | return NULL; |
| 259 | } |
| 260 | |
| 261 | ForestCell* ForestData::_findOrCreateBucket( const Point3F &pos ) |
| 262 | { |