diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-01 13:16:44 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-01 13:16:44 +0200 |
commit | 9d8a88c1a46cc95f69e9bc0e50ed1134bef6c715 (patch) | |
tree | fa40a289a4fb129420c4c3099df0471c4236d9b4 /src/ProjectionLSQ.H | |
parent | c368443056c0eda834f4924ca36c141d8d97f89e (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/ProjectionLSQ.H')
-rw-r--r-- | src/ProjectionLSQ.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProjectionLSQ.H b/src/ProjectionLSQ.H index 626c513..a380b4c 100644 --- a/src/ProjectionLSQ.H +++ b/src/ProjectionLSQ.H @@ -32,7 +32,7 @@ class ProjectionLSQ { void get_coordinates(double a_view, double a_nick, const ViewParams *parms, double *x, double *y); - int comp_params(const Hills *h, ViewParams *parms); + virtual int comp_params(const Hills *h, ViewParams *parms); virtual double get_view_angle(); |