projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8226f
)
Revert "[4.0] Initialize random number generator"
89/154789/1
author
taeyoon0.lee
<taeyoon0.lee@samsung.com>
Wed, 11 Oct 2017 08:24:41 +0000
(17:24 +0900)
committer
taeyoon0.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
patch
|
blob
|
history
diff --git
a/dali/public-api/math/random.h
b/dali/public-api/math/random.h
index
97818f5
..
8067112
100644
(file)
--- a/
dali/public-api/math/random.h
+++ b/
dali/public-api/math/random.h
@@
-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);
}