| 1824 | } |
| 1825 | |
| 1826 | bool EveSpaceObject2::IsVisible( const EveUpdateContext& updateContext ) const |
| 1827 | { |
| 1828 | auto& frustum = updateContext.GetFrustum(); |
| 1829 | return frustum.IsSphereVisible( m_boundingSphereWorldCenter, m_boundingSphereWorldRadius ) && |
| 1830 | frustum.GetPixelSizeAccrossEst( m_boundingSphereWorldCenter, m_boundingSphereWorldRadius ) >= updateContext.GetVisibilityThreshold(); |
| 1831 | } |
| 1832 | |
| 1833 | void EveSpaceObject2::GetRenderables( std::vector<ITr2Renderable*>& renderables, Tr2ImpostorManager* impostors ) |
| 1834 | { |
no test coverage detected