From 60e0cb36a19f02fe8b05245e32af817170ebdf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Fri, 28 Sep 2012 13:19:17 +0000 Subject: [PATCH] Documentaion git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@715 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Utils/RandomNumberGenerator.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/Utils/RandomNumberGenerator.hh b/src/OpenMesh/Core/Utils/RandomNumberGenerator.hh index c8040354..07d65e80 100644 --- a/src/OpenMesh/Core/Utils/RandomNumberGenerator.hh +++ b/src/OpenMesh/Core/Utils/RandomNumberGenerator.hh @@ -67,7 +67,10 @@ namespace OpenMesh { //============================================================================= -/** Generate a random number between 0.0 and 1.0 with a garantueed resolution +/** Generate a random number between 0.0 and 1.0 with a guaranteed resolution + * + * Especially useful on windows, as there MAX_RAND is often only 32k which is + * not enough resolution for a lot of applications */ class OPENMESHDLLEXPORT RandomNumberGenerator { @@ -79,7 +82,7 @@ public: */ RandomNumberGenerator(const double _resolution); - /// returns a random double between 0.0 and 1.0 with a garantueed resolution + /// returns a random double between 0.0 and 1.0 with a guaranteed resolution double getRand() const; private: