summaryrefslogtreecommitdiff
path: root/indra/newview/llvotreenew.h
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-01-18 00:44:48 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-01-18 00:44:48 +0000
commitc189fc0b579352c34285fcf03db4b5bca5cd3804 (patch)
treeba32536c8bf3b23f311e7ae77aa69f9cbaec4582 /indra/newview/llvotreenew.h
parent73f0b5029aa247a563862fc39152ce58baa407aa (diff)
Result of svn merge -r56700:56797 svn+ssh://svn/svn/linden/branches/more-random into release.
Diffstat (limited to 'indra/newview/llvotreenew.h')
-rw-r--r--indra/newview/llvotreenew.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvotreenew.h b/indra/newview/llvotreenew.h
index e027c3860a..202f526acb 100644
--- a/indra/newview/llvotreenew.h
+++ b/indra/newview/llvotreenew.h
@@ -59,7 +59,7 @@ public:
// return +- negPos
static S32 llrand_signed(S32 negPos)
{
- return (gLindenLabRandomNumber.llrand((U32)negPos * 2) - negPos);
+ return (ll_rand((U32)negPos * 2) - negPos);
};
static S32 llrand_signed(S32 negPos, U32 index)
@@ -75,7 +75,7 @@ public:
// return +- negPos
static F32 llfrand_signed(F32 negPos)
{
- return (gLindenLabRandomNumber.llfrand(negPos * 2.0f) - negPos);
+ return (ll_frand(negPos * 2.0f) - negPos);
};
static F32 llfrand_signed(F32 negPos, U32 index)
@@ -91,7 +91,7 @@ public:
// return between 0-pos
static F32 llfrand_unsigned(F32 pos)
{
- return gLindenLabRandomNumber.llfrand(pos);
+ return ll_frand(pos);
};
static void cleanupTextures() {}; // not needed anymore