MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetOcclusionPosition

Method SetOcclusionPosition

Source/Sound/threaded_sound_wrapper.cpp:931–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

929}
930
931void ThreadedSound::SetOcclusionPosition(const unsigned long& handle, const vec3& new_pos) {
932 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFSetOcclusionPosition);
933 tsm.SetHandle(handle);
934 tsm.SetData(&new_pos, sizeof(vec3));
935 message_queue_in.Queue(tsm);
936}
937
938void ThreadedSound::LoadSoundFile(const std::string& path) {
939 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFLoadSoundFile);

Callers 1

ThreadedSoundLoopFunction · 0.45

Calls 3

SetHandleMethod · 0.80
SetDataMethod · 0.45
QueueMethod · 0.45

Tested by

no test coverage detected