mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
remove the debugging to confirm that distance attenuation is working
This commit is contained in:
parent
5442362b3a
commit
14012ee44b
1 changed files with 0 additions and 2 deletions
|
@ -145,8 +145,6 @@ 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 %f\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