mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
audio: channels
This commit is contained in:
parent
5657457edb
commit
75ee269db3
8 changed files with 259 additions and 73 deletions
|
|
@ -153,7 +153,7 @@ void LevelScreen::update(float delta) {
|
|||
|
||||
auto player = controller->getPlayer();
|
||||
auto camera = player->camera;
|
||||
audio::setListener(
|
||||
audio::set_listener(
|
||||
camera->position,
|
||||
player->hitbox->velocity,
|
||||
camera->position+camera->dir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue