diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-07-19 15:20:23 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-07-19 15:20:23 -0600 |
commit | bab5ef916cb8e3645a4c26b2f7ea5be8a805c5bd (patch) | |
tree | 628ded8af0eac0defded9d0dc9533fe646f18bd8 /indra/newview/llface.cpp | |
parent | 478edbee8c7f6596174c7cde781c849c2ab51aa8 (diff) |
trivial: replace some very small constant numbers with "F_ALMOST_ZERO".
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index dbbcb6e7c4..f299518474 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1364,7 +1364,7 @@ F32 LLFace::getTextureVirtualSize() F32 cos_angle_to_view_dir; BOOL in_frustum = calcPixelArea(cos_angle_to_view_dir, radius); - if (mPixelArea < 0.0001f || !in_frustum) + if (mPixelArea < F_ALMOST_ZERO || !in_frustum) { setVirtualSize(0.f) ; return 0.f; |