diff options
author | Aaron Brashears <aaronb@lindenlab.com> | 2007-01-03 21:05:41 +0000 |
---|---|---|
committer | Aaron Brashears <aaronb@lindenlab.com> | 2007-01-03 21:05:41 +0000 |
commit | 4617a37edfc291a0942027231691bdbf6109b9cb (patch) | |
tree | 5745c5e3dee0568be67d48242814d2654d80c9de /indra/newview/llworldmapview.cpp | |
parent | 2b291c2732b583911c0d98c30dbfedfd4022babb (diff) |
corrected, removed, and updated comments throughout the code to be more useful. no code changes. SL-13762
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r-- | indra/newview/llworldmapview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index 56e496e303..78e47dbf83 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -1494,7 +1494,10 @@ void LLWorldMapView::drawTrackingArrow(const LLRect& rect, S32 x, S32 y, y_clamped = llclamp( y_clamped, 0.f, (F32)(rect.getHeight() - arrow_size) ); } - //FIXME: deal with non-square window properly + // *FIX: deal with non-square window properly. + // I do not understand what this comment means -- is it actually + // broken or is it correctly dealing with non-square + // windows. Phoenix 2007-01-03. S32 half_arrow_size = (S32) (0.5f * arrow_size); F32 angle = atan2( y + half_arrow_size - y_center, x + half_arrow_size - x_center); |