| 233 | } |
| 234 | |
| 235 | void ForestData::regenCells() |
| 236 | { |
| 237 | Vector<ForestItem> items; |
| 238 | getItems( &items ); |
| 239 | |
| 240 | clear(); |
| 241 | |
| 242 | for ( U32 i=0; i < items.size(); i++ ) |
| 243 | { |
| 244 | const ForestItem &item = items[i]; |
| 245 | addItem( item.getKey(), item.getData(), item.getTransform(), item.getScale() ); |
| 246 | } |
| 247 | |
| 248 | mIsDirty = true; |
| 249 | } |
| 250 | |
| 251 | ForestCell* ForestData::_findBucket( const Point2I &key ) const |
| 252 | { |
no test coverage detected