summaryrefslogtreecommitdiff
path: root/src/Stitch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r--src/Stitch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx
index e4f3d60..aa3798b 100644
--- a/src/Stitch.cxx
+++ b/src/Stitch.cxx
@@ -109,7 +109,7 @@ Stitch::resample(GipfelWidget::sample_mode_t m,
}
for (int y = 0; y < h; y++) {
- double a_nick = atan((double)(y_off - y)/radius);
+ double a_nick = (double)20.0 - y * step_view;
for (int x = 0; x < w; x++) {
double a_view;