diff --git a/apps/benchmarks/detournavigator/navmeshtilescache.cpp b/apps/benchmarks/detournavigator/navmeshtilescache.cpp index eabd757796..7c5795a81e 100644 --- a/apps/benchmarks/detournavigator/navmeshtilescache.cpp +++ b/apps/benchmarks/detournavigator/navmeshtilescache.cpp @@ -33,7 +33,7 @@ namespace osg::Vec3f generateAgentHalfExtents(float min, float max, auto& random) { - std::uniform_int_distribution distribution(min, max); + std::uniform_real_distribution distribution(min, max); return osg::Vec3f(distribution(random), distribution(random), distribution(random)); }