| 322 | } |
| 323 | |
| 324 | bool Forest::castRayBase( const Point3F &start, const Point3F &end, RayInfo *outInfo, bool rendered ) |
| 325 | { |
| 326 | if ( !getObjBox().collideLine( start, end ) ) |
| 327 | return false; |
| 328 | |
| 329 | if ( mData->castRay( start, end, outInfo, rendered ) ) |
| 330 | { |
| 331 | outInfo->object = this; |
| 332 | return true; |
| 333 | } |
| 334 | |
| 335 | return false; |
| 336 | } |
| 337 | |
| 338 | void Forest::updateCollision() |
| 339 | { |
nothing calls this directly
no test coverage detected