mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-15 02:09:17 -05:00
change attenuation distance (#5555)
This commit is contained in:
@ -68,7 +68,7 @@ int main(void)
|
||||
.z = 5.0f*sinf(th)
|
||||
};
|
||||
|
||||
SetSoundPosition(camera, sound, spherePos, 20.0f);
|
||||
SetSoundPosition(camera, sound, spherePos, 1.0f);
|
||||
|
||||
if (!IsSoundPlaying(sound)) PlaySound(sound);
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user