summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-07-06 14:44:50 -0600
committerXiaohong Bao <bao@lindenlab.com>2012-07-06 14:44:50 -0600
commit266209b6a3b938e8762dd6fe2c25e87e120cf127 (patch)
treeb219a3fc1bb7a3baed0674717de5425f6767c42c /indra
parent52411f83a1e92d8449f68a6528f5b78e7c391553 (diff)
trivial: convert to Unix line endings.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index f4e46ae3ea..ced6f4b1aa 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -2033,12 +2033,12 @@ BOOL LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius)
F32 dist = lookAt.getLength3().getF32();
dist = llmax(dist-size.getLength3().getF32(), 0.001f);
- //ramp down distance for nearby objects
- if (dist < 16.f)
- {
- dist /= 16.f;
- dist *= dist;
- dist *= 16.f;
+ //ramp down distance for nearby objects
+ if (dist < 16.f)
+ {
+ dist /= 16.f;
+ dist *= dist;
+ dist *= 16.f;
}
lookAt.normalize3fast() ;