summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2009-11-06 12:54:33 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2009-11-06 12:54:33 -0800
commit9317e46a878b36d8f44bbeb4a06ad22d66772e66 (patch)
tree71bdb2fbd3cc931c886c81b404aa02f80f14bea7 /indra/newview/pipeline.cpp
parent7caf37b9778d3f515a3a796547c09533bd4816b8 (diff)
parent05baf9940bd8e9491c4cc7fb426d8e56f50e4d22 (diff)
Automated merge with ssh://hg.lindenlab.com/brad/brad-parabuild
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 0dc1a88ee8..3390463aa6 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1474,7 +1474,7 @@ F32 LLPipeline::calcPixelArea(LLVector3 center, LLVector3 size, LLCamera &camera
//get area of circle around node
F32 app_angle = atanf(size.length()/dist);
F32 radius = app_angle*LLDrawable::sCurPixelAngle;
- return radius*radius * 3.14159f;
+ return radius*radius * F_PI;
}
void LLPipeline::grabReferences(LLCullResult& result)