From 9d8a88c1a46cc95f69e9bc0e50ed1134bef6c715 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 1 Apr 2009 13:16:44 +0200 Subject: 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. --- src/Hill.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Hill.H') 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(); -- cgit v1.2.3