| 614 | } |
| 615 | |
| 616 | bool Tr2SkinnedObject::GetLocalBoundingBox( Vector3& min, Vector3& max ) const |
| 617 | { |
| 618 | if( m_useExplicitBounds ) |
| 619 | { |
| 620 | min = m_minBounds; |
| 621 | max = m_maxBounds; |
| 622 | return true; |
| 623 | } |
| 624 | |
| 625 | if( m_useDynamicBounds && m_hasDynamicBounds ) |
| 626 | { |
| 627 | min = m_minDynamicBounds; |
| 628 | max = m_maxDynamicBounds; |
| 629 | return true; |
| 630 | } |
| 631 | |
| 632 | // pass down to |
| 633 | if( m_visualModel ) |
| 634 | { |
| 635 | return m_visualModel->GetBoundingBox( min, max ); |
| 636 | } |
| 637 | return false; |
| 638 | } |
| 639 | |
| 640 | // ------------------------------------------------------------- |
| 641 | // Description: |
nothing calls this directly
no test coverage detected