MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / SetMap

Method SetMap

PanzerChasm/sound/objects_sounds_processor.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{}
22
23void ObjectsSoundsProcessor::SetMap( const MapDataConstPtr& map_data )
24{
25 map_data_= map_data;
26
27 volume_= 0.0f;
28 current_sound_= 0.0f;
29 nearest_source_pos_= m_Vec3( 0.0f, 0.0f, 0.0f );
30}
31
32void ObjectsSoundsProcessor::Update( const MapState& map_state, const m_Vec3& head_pos )
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected