diff --git a/apps/benchmarks/detournavigator/navmeshtilescache.cpp b/apps/benchmarks/detournavigator/navmeshtilescache.cpp index 176ed3d201..b2d02e2cea 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)); }