This commit is contained in:
MihailRis 2025-12-17 23:59:11 +03:00
parent c0a288705e
commit 0c62951062

View file

@ -656,7 +656,6 @@ void ALAudio::setListener(
) {
ALfloat listenerOri[] = {at.x, at.y, at.z, up.x, up.y, up.z};
logger.info() << "velcotiy: " << glm::length(velocity);
AL_CHECK(alListener3f(AL_POSITION, position.x, position.y, position.z));
AL_CHECK(alListener3f(AL_VELOCITY, velocity.x, velocity.y, velocity.z));
AL_CHECK(alListenerfv(AL_ORIENTATION, listenerOri));