| 78 | } |
| 79 | |
| 80 | bool Tr2InteriorPlaceable::GetLocalBoundingBox( Vector3& min, Vector3& max ) const |
| 81 | { |
| 82 | if( m_isBoundingBoxModified ) |
| 83 | { |
| 84 | min = m_minBounds; |
| 85 | max = m_maxBounds; |
| 86 | return true; |
| 87 | } |
| 88 | // Pass down to the WodPlaceableRes |
| 89 | if( m_placeableRes && m_placeableRes->IsReady() ) |
| 90 | { |
| 91 | m_placeableRes->GetBoundingBox( min, max ); |
| 92 | return true; |
| 93 | } |
| 94 | return false; |
| 95 | } |
| 96 | |
| 97 | // -------------------------------------------------------------------------------- |
| 98 | // Description: |
nothing calls this directly
no test coverage detected