diff --git a/vcg/math/random_generator.h b/vcg/math/random_generator.h index eb4ea5bd..3d69cfe1 100644 --- a/vcg/math/random_generator.h +++ b/vcg/math/random_generator.h @@ -73,6 +73,13 @@ private: unsigned long mt[N]; // the array for the state vector int mti; +// construction +public: + + // ctor + RandomGenerator(){} + + // public methods public: @@ -223,13 +230,6 @@ public: return (((double)generateWithImprovedMarsenneTwister()) + 0.5)*(1.0/4294967296.0); } - -// construction -public: - - // ctor - RandomGenerator(){} - }; } // end namespace math