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

Method TranslatePosition

Source/Sound/threaded_sound_wrapper.cpp:761–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759}
760
761void ThreadedSound::TranslatePosition(const unsigned long& handle, const vec3& trans) {
762 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFTranslatePosition);
763 tsm.SetHandle(handle);
764 tsm.SetData(trans.entries, sizeof(trans.entries));
765 message_queue_in.Queue(tsm);
766}
767
768void ThreadedSound::SetVelocity(const unsigned long& handle, const vec3& new_vel) {
769 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFSetVelocity);

Callers 1

ThreadedSoundLoopFunction · 0.45

Calls 3

SetHandleMethod · 0.80
SetDataMethod · 0.45
QueueMethod · 0.45

Tested by

no test coverage detected