mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 23:29:39 +02:00
tune the distance attenuation on audio-mixer
This commit is contained in:
parent
b673715aa2
commit
18e8a5ebf9
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ int main(int argc, const char* argv[]) {
|
|||
|
||||
float minCoefficient = std::min(1.0f,
|
||||
powf(0.5,
|
||||
(logf(DISTANCE_RATIO * distanceToAgent) / logf(3)) - 1));
|
||||
(logf(DISTANCE_RATIO * distanceToAgent) / logf(2)) - 1));
|
||||
distanceCoefficients[lowAgentIndex][highAgentIndex] = minCoefficient;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue