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

Method UpdateVisibility

trinity/Eve/UI/EveSpherePin.cpp:253–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void EveSpherePin::UpdateVisibility( const EveUpdateContext& updateContext, const Matrix& parentTransform )
254{
255 if( !m_display )
256 {
257 return;
258 }
259
260 // position the lines with parent transform
261 UpdateViewDependentData( updateContext.GetFrustum(), parentTransform );
262 Vector4 boundingSphere = m_boundingSphere;
263 BoundingSphereTransform( m_worldTransform, boundingSphere );
264}
265
266void EveSpherePin::GetRenderables( std::vector<ITr2Renderable*>& renderables )
267{

Callers

nothing calls this directly

Calls 2

BoundingSphereTransformFunction · 0.85
GetFrustumMethod · 0.80

Tested by

no test coverage detected