summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2013-11-26 09:30:53 -0500
committerJonathan Yap <none@none>2013-11-26 09:30:53 -0500
commit44ea72848fd64201ceef344e4136b9323c258615 (patch)
tree28b41fb4c5ac24e4a5e76a995691b778ab5ea5f2 /indra
parentf04c2a781ce1ff65f17bee24187a1ea1fc667787 (diff)
STORM-1981 Eliminate beam spreading
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/lltracker.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/lltracker.cpp b/indra/newview/lltracker.cpp
index e242cd6f5e..73ceb783b5 100755
--- a/indra/newview/lltracker.cpp
+++ b/indra/newview/lltracker.cpp
@@ -506,7 +506,6 @@ void LLTracker::drawBeacon(LLVector3 pos_agent, std::string direction, LLColor4
LLVector3 x_axis = LLViewerCamera::getInstance()->getLeftAxis();
F32 t = gRenderStartTime.getElapsedTimeF32();
- F32 dr = dist/LLViewerCamera::getInstance()->getFar();
for (U32 i = 0; i < BEACON_VERTS; i++)
{
@@ -526,10 +525,10 @@ void LLTracker::drawBeacon(LLVector3 pos_agent, std::string direction, LLColor4
LLColor4 col_edge_next = fogged_color * LLColor4(an,an,an,0.0f);
a *= 2.f;
- a += 1.0f+dr;
+ a += 1.0f;
an *= 2.f;
- an += 1.0f+dr;
+ an += 1.0f;
gGL.begin(LLRender::TRIANGLE_STRIP);
gGL.color4fv(col_edge.mV);