summaryrefslogtreecommitdiff
path: root/src/Hill.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-01 13:16:44 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-01 13:16:44 +0200
commit9d8a88c1a46cc95f69e9bc0e50ed1134bef6c715 (patch)
treefa40a289a4fb129420c4c3099df0471c4236d9b4 /src/Hill.H
parentc368443056c0eda834f4924ca36c141d8d97f89e (diff)
fix bug in cylindrical projection
If one peak is "left" and one is "right" of north, cylindrical projection was not able to compute proper viewing parameters. This is fixed by adjusting alpha angles of known hills to be increasing with x.
Diffstat (limited to 'src/Hill.H')
-rw-r--r--src/Hill.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hill.H b/src/Hill.H
index ac4917a..d408dc7 100644
--- a/src/Hill.H
+++ b/src/Hill.H
@@ -45,7 +45,8 @@ class Hills {
SORT_ALPHA,
SORT_PHI,
SORT_NAME,
- SORT_LABEL_Y
+ SORT_LABEL_Y,
+ SORT_X
} SortType;
Hills();