aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llptrskipmap.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:48 -0500
committerJacek Antonelli2008-08-15 23:44:48 -0500
commit9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch)
tree2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/llcommon/llptrskipmap.h
parentSecond Life viewer sources 1.13.2.12 (diff)
downloadmeta-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/llcommon/llptrskipmap.h')
-rw-r--r--linden/indra/llcommon/llptrskipmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llcommon/llptrskipmap.h b/linden/indra/llcommon/llptrskipmap.h
index d4e4de3..c4e131f 100644
--- a/linden/indra/llcommon/llptrskipmap.h
+++ b/linden/indra/llcommon/llptrskipmap.h
@@ -343,7 +343,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::addData(const INDEX_
343 S32 newlevel; 343 S32 newlevel;
344 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) 344 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++)
345 { 345 {
346 if (frand(1.f) < 0.5f) 346 if (ll_frand() < 0.5f)
347 { 347 {
348 break; 348 break;
349 } 349 }
@@ -411,7 +411,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::addData(const INDEX_
411 S32 newlevel; 411 S32 newlevel;
412 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) 412 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++)
413 { 413 {
414 if (frand(1.f) < 0.5f) 414 if (ll_frand() < 0.5f)
415 break; 415 break;
416 } 416 }
417 417
@@ -489,7 +489,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::getData(const INDEX_
489 S32 newlevel; 489 S32 newlevel;
490 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) 490 for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++)
491 { 491 {
492 if (frand(1.f) < 0.5f) 492 if (ll_frand() < 0.5f)
493 break; 493 break;
494 } 494 }
495 495