diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-06 13:27:28 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-06 13:27:28 +0000 |
commit | 904f6124b282e3e9668289bef9f7d44f8539ce51 (patch) | |
tree | 38c1ad84a20240d48b1c31e4d6d569122bf1b724 /indra/newview/llworldmapview.cpp | |
parent | d78520f6b7fd4a20bbb1d1291a34761efc1fd740 (diff) |
magic number removal rampage: 3.14159 -> M_PI or F_PI
--HG--
branch : texture-pipeline
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r-- | indra/newview/llworldmapview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index 5446a08ebf..bd2e1e6621 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -821,7 +821,7 @@ void LLWorldMapView::draw() else { double value = fmod(current_time, 2); - value = 0.5 + 0.5*cos(value * 3.14159f); + value = 0.5 + 0.5*cos(value * M_PI); LLColor4 loading_color(0.0, F32(value/2), F32(value), 1.0); drawTracking( LLWorldMap::getInstance()->mUnknownLocation, loading_color, TRUE, getString("Loading"), ""); } |