tune the distance attenuation on audio-mixer

This commit is contained in:
Stephen Birarda 2013-05-23 16:48:28 -07:00
parent b673715aa2
commit 18e8a5ebf9

View file

@ -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;
}