mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 17:04:29 +00:00
Merge branch 'fix_benchmark_distribution' into 'master'
Use uniform_real_distribution for agent half extents See merge request OpenMW/openmw!5005
This commit is contained in:
commit
46e0369fee
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ namespace
|
|||
|
||||
osg::Vec3f generateAgentHalfExtents(float min, float max, auto& random)
|
||||
{
|
||||
std::uniform_int_distribution<int> distribution(min, max);
|
||||
std::uniform_real_distribution<float> distribution(min, max);
|
||||
return osg::Vec3f(distribution(random), distribution(random), distribution(random));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue