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

Method GetHullAudioPosition

trinity/Eve/SpaceObjectFactory/EveSOFDNA.cpp:1175–1183  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Return a pointer to the audio position of this hull --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1173// Return a pointer to the audio position of this hull
1174// --------------------------------------------------------------------------------
1175const Vector3* EveSOFDNA::GetHullAudioPosition( size_t n ) const
1176{
1177 // to simplify things only take the audiolocation from the last hull, which should hold the engine
1178 if( n + 1 == GetMultiHullCount() )
1179 {
1180 return &m_hullDatas[n]->audioPosition;
1181 }
1182 return nullptr;
1183}
1184
1185// --------------------------------------------------------------------------------
1186// Description:

Callers 1

SetupLocatorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected