-------------------------------------------------------------------------------- Description: Exposed function to trigger a recalculation of the stored bounding data --------------------------------------------------------------------------------
| 3300 | // Exposed function to trigger a recalculation of the stored bounding data |
| 3301 | // -------------------------------------------------------------------------------- |
| 3302 | void EveTurretSet::RebuildBoundingSphere() |
| 3303 | { |
| 3304 | // if there is geometry there, just ask it to rebuild |
| 3305 | if( m_geometryResource ) |
| 3306 | { |
| 3307 | if( m_geometryResource->GetMeshCount() ) |
| 3308 | { |
| 3309 | m_geometryResource->RecalculateBoundingSphere(); |
| 3310 | m_geometryResource->GetBoundingSphere( 0, m_boundingSphere ); |
| 3311 | } |
| 3312 | } |
| 3313 | } |
| 3314 | |
| 3315 | // -------------------------------------------------------------------------------- |
| 3316 | // Description: |
nothing calls this directly
no test coverage detected