Revert "[4.0] Initialize random number generator" 12/153312/1
authorJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:24:06 +0000 (13:24 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:24:17 +0000 (13:24 +0900)
This reverts commit 3ab60cd59158d0e53200b4ac6499eea712f7d325.

Change-Id: Ic2b1df528a68a69baf2e905db97878957853817d

dali/public-api/math/random.h

index 97818f5..8067112 100644 (file)
@@ -48,7 +48,6 @@ inline float Range(float f0, float f1)
 {
   float min = std::min(f0, f1);
   float max = std::max(f0, f1);
-  srand( time( NULL ) );
   return min + (rand() & 0xfff) * (max-min) * (1.0f/4095.0f);
 }