diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-06 14:58:27 +0000 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-06 14:58:27 +0000 |
| commit | 6552c1a973ec26a889b6ad4a34c492a3ffc3f644 (patch) | |
| tree | 1de466344826fd5d586f5cee784afd6e76a73582 /indra/newview/pipeline.cpp | |
| parent | c189943583f13dba0b56d58e4e4adec4f7f7f650 (diff) | |
| parent | 904f6124b282e3e9668289bef9f7d44f8539ce51 (diff) | |
merge.
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 2 |
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) |
