summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-28 22:29:46 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-28 22:29:46 +0200
commitc79baa853f258ef78a8205b27c1708f347e23340 (patch)
treef969988c217e22270f914f46b9bbd70ab99b715a
parent17f8d58e657c13e0d84c3144ce74e970c0cd77da (diff)
prepare 0.2.4
-rw-r--r--NEWS6
-rw-r--r--configure.ac2
-rw-r--r--src/Panorama.cxx2
3 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f238bff..13e9940 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
gipfel ChangeLog
=================
+gipfel-0.2.4
+ - Fix another issue in the rectilinear projection code
+ that affected non-horizontally shot pictures.
+ - Use a more robust forumla for spherical distance computation.
+ - Take refraction effect into account.
+
gipfel-0.2.3
- Fix a major shortcoming in the rectilinear projection
code. This improves accuracy quite a bit, mostly in
diff --git a/configure.ac b/configure.ac
index b5b9208..400121d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(gipfel, 0.2.3, Johannes.Hofmann@gmx.de)
+AC_INIT(gipfel, 0.2.4, Johannes.Hofmann@gmx.de)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/Panorama.H])
AC_CONFIG_HEADER(config.h)
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index aa358ec..aba5fbf 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -431,6 +431,8 @@ Panorama::alpha(const Hill *m) {
return fmod(atan2(sin_alph, cos_alph) + 2.0 * pi_d, 2.0 * pi_d);
}
+// approximation of refraction effect as described by Tom Chester at
+// http://tchester.org/sgm/analysis/peaks/refraction.html
double
Panorama::refraction(const Hill *m) {
double a, b, c, alpha = 6.5, T0 = 10.0;