diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-21 19:58:47 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-21 19:58:47 +0200 |
commit | 4f544f1ab0d04a4b18fac5e9bec0e869b981f038 (patch) | |
tree | e155b494bf848e10c369527ac5dff12cff98a0d0 /src/Stitch.cxx | |
parent | 7669bc038012eb92bd8d3ae842b236cd406ed074 (diff) |
fixes to cartesian rotation
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r-- | src/Stitch.cxx | 2 |
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; |