mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Merge pull request #412 from birarda/master
tune the distance attenuation
This commit is contained in:
commit
509905fd78
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