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

Method UpdateAsyncronous

trinity/Eve/SpaceObject/Children/EveChildPlug.cpp:239–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void EveChildPlug::UpdateAsyncronous( const EveUpdateContext& updateContext, const EveChildUpdateParams& params )
240{
241 m_worldTransform = params.localToWorldTransform;
242
243 EveChildUpdateParams newParams = params;
244 newParams.isVisible &= m_display;
245 newParams.childParent = this;
246
247 for( auto it = m_objects.begin(); it != m_objects.end(); it++ )
248 {
249 ( *it )->UpdateAsyncronous( updateContext, newParams );
250 }
251 for( auto it = begin( m_controllers ); it != end( m_controllers ); ++it )
252 {
253 ( *it )->Update( params.controllerUpdateFrequency );
254 }
255}
256
257void EveChildPlug::GetLocalToWorldTransform( Matrix& transform ) const
258{

Callers

nothing calls this directly

Calls 5

beginFunction · 0.50
endFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected