diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-21 19:47:10 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-05-21 19:47:10 +0200 |
commit | 7669bc038012eb92bd8d3ae842b236cd406ed074 (patch) | |
tree | 521171ab1caf41e8b08d809bd3ede64afc64b180 /src/Stitch.cxx | |
parent | d9c027bb9b4bfb74c41c334fc8cf889d4e244b55 (diff) |
rotate in cartesian coordinates
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 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; |