aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectlookat.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/llhudeffectlookat.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 '')
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index 88ad5d6..0829fb2 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -501,8 +501,8 @@ void LLHUDEffectLookAt::render()
501 501
502 LLVector3 target = mTargetPos + ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->mHeadp->getWorldPosition(); 502 LLVector3 target = mTargetPos + ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->mHeadp->getWorldPosition();
503 glMatrixMode(GL_MODELVIEW); 503 glMatrixMode(GL_MODELVIEW);
504 glPushMatrix(); 504 gGL.pushMatrix();
505 glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); 505 gGL.translatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
506 glScalef(0.3f, 0.3f, 0.3f); 506 glScalef(0.3f, 0.3f, 0.3f);
507 gGL.begin(LLVertexBuffer::LINES); 507 gGL.begin(LLVertexBuffer::LINES);
508 { 508 {
@@ -517,7 +517,7 @@ void LLHUDEffectLookAt::render()
517 gGL.vertex3f(0.f, 0.f, -1.f); 517 gGL.vertex3f(0.f, 0.f, -1.f);
518 gGL.vertex3f(0.f, 0.f, 1.f); 518 gGL.vertex3f(0.f, 0.f, 1.f);
519 } gGL.end(); 519 } gGL.end();
520 glPopMatrix(); 520 gGL.popMatrix();
521 } 521 }
522} 522}
523 523