Revert "[4.0] Initialize random number generator" 89/154789/1
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Wed, 11 Oct 2017 08:24:41 +0000 (17:24 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Wed, 11 Oct 2017 08:24:53 +0000 (17:24 +0900)
This reverts commit a6f1d65817d345731c06de99d88f7ac8c95cb7c8.

Change-Id: I8aaf48d430aaa1f00e41c800807292eef387e81b

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);
 }