aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectpointat.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:57 -0500
committerJacek Antonelli2008-08-15 23:45:57 -0500
commit7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch)
treeab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/newview/llhudeffectpointat.cpp
parentSecond Life viewer sources 1.20.10 (diff)
downloadmeta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz
Second Life viewer sources 1.20.11
Diffstat (limited to 'linden/indra/newview/llhudeffectpointat.cpp')
-rw-r--r--linden/indra/newview/llhudeffectpointat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudeffectpointat.cpp b/linden/indra/newview/llhudeffectpointat.cpp
index 8cd1023..7ab03f2 100644
--- a/linden/indra/newview/llhudeffectpointat.cpp
+++ b/linden/indra/newview/llhudeffectpointat.cpp
@@ -331,8 +331,8 @@ void LLHUDEffectPointAt::render()
331 LLGLSNoTexture gls_no_texture; 331 LLGLSNoTexture gls_no_texture;
332 332
333 LLVector3 target = mTargetPos + mSourceObject->getRenderPosition(); 333 LLVector3 target = mTargetPos + mSourceObject->getRenderPosition();
334 glPushMatrix(); 334 gGL.pushMatrix();
335 glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); 335 gGL.translatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
336 glScalef(0.3f, 0.3f, 0.3f); 336 glScalef(0.3f, 0.3f, 0.3f);
337 gGL.begin(LLVertexBuffer::LINES); 337 gGL.begin(LLVertexBuffer::LINES);
338 { 338 {
@@ -346,7 +346,7 @@ void LLHUDEffectPointAt::render()
346 gGL.vertex3f(0.f, 0.f, -1.f); 346 gGL.vertex3f(0.f, 0.f, -1.f);
347 gGL.vertex3f(0.f, 0.f, 1.f); 347 gGL.vertex3f(0.f, 0.f, 1.f);
348 } gGL.end(); 348 } gGL.end();
349 glPopMatrix(); 349 gGL.popMatrix();
350 } 350 }
351} 351}
352 352