summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmapview.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-06 16:41:56 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-06 16:41:56 +0000
commit956ce3af6564c12d252aed8ae26581068064fb76 (patch)
tree10a0f0e82364f70f31bf9db9eea060ec63523645 /indra/newview/llworldmapview.cpp
parent66171216b01c1c5afafd3405a9d17e81f50c1925 (diff)
M_PI -> F_PI - who knew that M_PI was dropped from C99 onwards?!
Oh well, this should still be better.
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r--indra/newview/llworldmapview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp
index 0509898f40..9a249d14f8 100644
--- a/indra/newview/llworldmapview.cpp
+++ b/indra/newview/llworldmapview.cpp
@@ -822,7 +822,7 @@ void LLWorldMapView::draw()
else
{
double value = fmod(current_time, 2);
- value = 0.5 + 0.5*cos(value * M_PI);
+ value = 0.5 + 0.5*cos(value * F_PI);
LLColor4 loading_color(0.0, F32(value/2), F32(value), 1.0);
drawTracking( LLWorldMap::getInstance()->mUnknownLocation, loading_color, TRUE, getString("Loading"), "");
}