summaryrefslogtreecommitdiff
path: root/indra/newview/llglsandbox.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-10-19 10:10:59 -0400
committerOz Linden <oz@lindenlab.com>2011-10-19 10:10:59 -0400
commit2b234bc087bd703ff97ce5630175d5d06198c592 (patch)
tree69b6e16ca64200694765642f26c49b22448740a8 /indra/newview/llglsandbox.cpp
parentdd61baa3401a09bd8ff1e894514c15390946cdb3 (diff)
storm-1622: fix viewer-side wind turbulence simulation
Diffstat (limited to 'indra/newview/llglsandbox.cpp')
-rw-r--r--indra/newview/llglsandbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index fa3f546157..cc4d9f8692 100644
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -259,8 +259,8 @@ void LLWind::renderVectors()
{
for (i = 0; i < mSize; i++)
{
- x = mCloudVelX[i + j*mSize] * WIND_SCALE_HACK;
- y = mCloudVelY[i + j*mSize] * WIND_SCALE_HACK;
+ x = mVelX[i + j*mSize] * WIND_SCALE_HACK;
+ y = mVelY[i + j*mSize] * WIND_SCALE_HACK;
gGL.pushMatrix();
gGL.translatef((F32)i * region_width_meters/mSize, (F32)j * region_width_meters/mSize, 0.0);
gGL.color3f(0,1,0);