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/llcloud.cpp | |
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/llcloud.cpp')
-rw-r--r-- | linden/indra/newview/llcloud.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llcloud.cpp b/linden/indra/newview/llcloud.cpp index e1b2281..ca05562 100644 --- a/linden/indra/newview/llcloud.cpp +++ b/linden/indra/newview/llcloud.cpp | |||
@@ -193,9 +193,9 @@ void LLCloudGroup::updatePuffCount() | |||
193 | for (i = current_puff_count; i < target_puff_count; i++) | 193 | for (i = current_puff_count; i < target_puff_count; i++) |
194 | { | 194 | { |
195 | puff_pos_global = mVOCloudsp->getPositionGlobal(); | 195 | puff_pos_global = mVOCloudsp->getPositionGlobal(); |
196 | F32 x = frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; | 196 | F32 x = ll_frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; |
197 | F32 y = frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; | 197 | F32 y = ll_frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; |
198 | F32 z = frand(CLOUD_HEIGHT_RANGE) - 0.5f*CLOUD_HEIGHT_RANGE; | 198 | F32 z = ll_frand(CLOUD_HEIGHT_RANGE) - 0.5f*CLOUD_HEIGHT_RANGE; |
199 | puff_pos_global += LLVector3d(x, y, z); | 199 | puff_pos_global += LLVector3d(x, y, z); |
200 | mCloudPuffs[i].mPositionGlobal = puff_pos_global; | 200 | mCloudPuffs[i].mPositionGlobal = puff_pos_global; |
201 | mCloudPuffs[i].mAlpha = 0.01f; | 201 | mCloudPuffs[i].mAlpha = 0.01f; |