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 aa3798b..e4f3d60 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 = (double)20.0 - y * step_view;
+ double a_nick = atan((double)(y_off - y)/radius);
for (int x = 0; x < w; x++) {
double a_view;