--------------------------------------------------------------------------------
| 785 | |
| 786 | // -------------------------------------------------------------------------------- |
| 787 | void EveSwarm::UpdateWorldBounds() |
| 788 | { |
| 789 | Vector4 bs; |
| 790 | BoundingSphereFromBox( bs, m_squadBoundsMin, m_squadBoundsMax ); |
| 791 | m_boundingSphereWorldCenter.x = bs.x; |
| 792 | m_boundingSphereWorldCenter.y = bs.y; |
| 793 | m_boundingSphereWorldCenter.z = bs.z; |
| 794 | m_boundingSphereWorldRadius = bs.w + m_modelScale * m_boundingSphereRadius; |
| 795 | } |
| 796 | |
| 797 | // -------------------------------------------------------------------------------- |
| 798 | // Description: |
nothing calls this directly
no test coverage detected