diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-28 22:29:46 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-28 22:29:46 +0200 |
commit | c79baa853f258ef78a8205b27c1708f347e23340 (patch) | |
tree | f969988c217e22270f914f46b9bbd70ab99b715a /src | |
parent | 17f8d58e657c13e0d84c3144ce74e970c0cd77da (diff) |
prepare 0.2.4
Diffstat (limited to 'src')
-rw-r--r-- | src/Panorama.cxx | 2 |
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; |