MCPcopy Create free account
hub / github.com/crownengine/crown / position

Method position

src/world/sound_world_al.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 }
358
359 Vector3 position()
360 {
361 ALfloat pos[3];
362 AL_CHECK(alGetSourcefv(_source, AL_POSITION, pos));
363 return { pos[0], pos[1], pos[2] };
364 }
365
366 void set_position(const Vector3 &pos)
367 {

Callers 6

spvTextEncodeOpcodeFunction · 0.45
playMethod · 0.45
reload_soundsMethod · 0.45
updateMethod · 0.45
run_output_threadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected