| 752 | } |
| 753 | |
| 754 | void EveSwarm::UpdateVisibility( const EveUpdateContext& updateContext, const Matrix& parentTransform ) |
| 755 | { |
| 756 | EveShip2::UpdateVisibility( updateContext, parentTransform ); |
| 757 | |
| 758 | // are decals visible? |
| 759 | if( m_mesh && m_isMeshVisible ) |
| 760 | { |
| 761 | // put together parent data for the decals |
| 762 | IEveSpaceObject2::ParentData pd; |
| 763 | GetParentData( &pd ); |
| 764 | |
| 765 | for( auto it = m_renderables.begin(); it != m_renderables.end(); it++ ) |
| 766 | { |
| 767 | ( *it )->UpdateDecalVisibility( updateContext, pd, m_animationUpdater ); |
| 768 | } |
| 769 | } |
| 770 | } |
| 771 | |
| 772 | |
| 773 | // -------------------------------------------------------------------------------- |
no test coverage detected