diff options
author | Jacek Antonelli | 2008-08-15 23:44:48 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:48 -0500 |
commit | 9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch) | |
tree | 2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/newview/llvotreenew.h | |
parent | Second Life viewer sources 1.13.2.12 (diff) | |
download | meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.zip meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.gz meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.bz2 meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.xz |
Second Life viewer sources 1.13.2.15
Diffstat (limited to 'linden/indra/newview/llvotreenew.h')
-rw-r--r-- | linden/indra/newview/llvotreenew.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llvotreenew.h b/linden/indra/newview/llvotreenew.h index 058bd19..936028a 100644 --- a/linden/indra/newview/llvotreenew.h +++ b/linden/indra/newview/llvotreenew.h | |||
@@ -78,7 +78,7 @@ public: | |||
78 | // return +- negPos | 78 | // return +- negPos |
79 | static S32 llrand_signed(S32 negPos) | 79 | static S32 llrand_signed(S32 negPos) |
80 | { | 80 | { |
81 | return (gLindenLabRandomNumber.llrand((U32)negPos * 2) - negPos); | 81 | return (ll_rand((U32)negPos * 2) - negPos); |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static S32 llrand_signed(S32 negPos, U32 index) | 84 | static S32 llrand_signed(S32 negPos, U32 index) |
@@ -94,7 +94,7 @@ public: | |||
94 | // return +- negPos | 94 | // return +- negPos |
95 | static F32 llfrand_signed(F32 negPos) | 95 | static F32 llfrand_signed(F32 negPos) |
96 | { | 96 | { |
97 | return (gLindenLabRandomNumber.llfrand(negPos * 2.0f) - negPos); | 97 | return (ll_frand(negPos * 2.0f) - negPos); |
98 | }; | 98 | }; |
99 | 99 | ||
100 | static F32 llfrand_signed(F32 negPos, U32 index) | 100 | static F32 llfrand_signed(F32 negPos, U32 index) |
@@ -110,7 +110,7 @@ public: | |||
110 | // return between 0-pos | 110 | // return between 0-pos |
111 | static F32 llfrand_unsigned(F32 pos) | 111 | static F32 llfrand_unsigned(F32 pos) |
112 | { | 112 | { |
113 | return gLindenLabRandomNumber.llfrand(pos); | 113 | return ll_frand(pos); |
114 | }; | 114 | }; |
115 | 115 | ||
116 | static void cleanupTextures() {}; // not needed anymore | 116 | static void cleanupTextures() {}; // not needed anymore |