summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
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 /src/Panorama.cxx
parent17f8d58e657c13e0d84c3144ce74e970c0cd77da (diff)
prepare 0.2.4
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx2
1 files changed, 2 insertions, 0 deletions
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;