| 336 | } |
| 337 | |
| 338 | void Forest::updateCollision() |
| 339 | { |
| 340 | if ( !mData ) |
| 341 | return; |
| 342 | |
| 343 | mData->buildPhysicsRep( this ); |
| 344 | |
| 345 | // Make the assumption that if collision needs |
| 346 | // to be updated that the zoning probably changed too. |
| 347 | if ( isClientObject() ) |
| 348 | mZoningDirty = true; |
| 349 | } |
| 350 | |
| 351 | bool ForestData::castRay( const Point3F &start, const Point3F &end, RayInfo *outInfo, bool rendered ) const |
| 352 | { |
nothing calls this directly
no test coverage detected