mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +02:00
add another line of debugging for audio mixer distance coeff
This commit is contained in:
parent
57c39ceb99
commit
e2cb1866ed
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ void *sendBuffer(void *args)
|
|||
|
||||
float minCoefficient = std::min(1.0f,
|
||||
powf(0.5, (logf(DISTANCE_RATIO * distanceToAgent) / logf(3)) - 1));
|
||||
printf("The distance between the two agents is %d\n", distanceToAgent);
|
||||
printf("The DC between agent %d and %d is %f\n", agent->getAgentId(), otherAgent->getAgentId(), minCoefficient);
|
||||
distanceCoeffs[lowAgentIndex][highAgentIndex] = minCoefficient;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue