summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-28 22:13:46 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-28 22:13:46 +0200
commite43a2435717831e1bc60e8c14499d7380cb09afd (patch)
tree41e761bad044af4545025bc69cffe446b4c1c6de /src/Panorama.cxx
parentf57cda04dfe66389d5c19c392423cfcb6057cd5d (diff)
add note about refraction to README
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index a072fd0..aa358ec 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -433,7 +433,7 @@ Panorama::alpha(const Hill *m) {
double
Panorama::refraction(const Hill *m) {
- double a, b, c, alpha = 6.5, T0 = 0.0;
+ double a, b, c, alpha = 6.5, T0 = 10.0;
a = 2.9e-4 * exp (-view_height / 10000.0) / (1.0 + 2.9 * T0 / 760.0);
b = 2.9 * alpha / (760.0 * (1.0 + 2.9 * T0 / 760.0));