MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsVisible

Method IsVisible

trinity/Eve/Renderable/EveSceneStaticParticles.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool EveSceneStaticParticles::IsVisible( const EveUpdateContext& updateContext ) const
171{
172 Vector4 transformedSphere( m_center, m_boundingSphere.w );
173 return updateContext.GetFrustum().IsSphereVisible( &transformedSphere );
174}
175
176void EveSceneStaticParticles::GetDebugOptions( Tr2DebugRendererOptions& options )
177{

Callers

nothing calls this directly

Calls 2

IsSphereVisibleMethod · 0.80
GetFrustumMethod · 0.80

Tested by

no test coverage detected