diff options
Diffstat (limited to 'graphics/geomorph/files/extra-patch-src-hf-hf_calc.c')
-rw-r--r-- | graphics/geomorph/files/extra-patch-src-hf-hf_calc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/geomorph/files/extra-patch-src-hf-hf_calc.c b/graphics/geomorph/files/extra-patch-src-hf-hf_calc.c new file mode 100644 index 000000000000..cf8173f9c00a --- /dev/null +++ b/graphics/geomorph/files/extra-patch-src-hf-hf_calc.c @@ -0,0 +1,11 @@ +--- src/hf/hf_calc.c.orig Tue Nov 22 07:25:40 2005 ++++ src/hf/hf_calc.c Mon Mar 6 13:08:02 2006 +@@ -1298,6 +1298,8 @@ + overflow); + } + ++#define lround(x) (((x) - (gdouble)(long int)(x)) < 0.5 ? (x) : (x+1.0)) ++ + void hf_fast_rotate (hf_type *hf_in, hf_type *hf_out, gint hf_size, gint angle) { + // Rotation of a square HF, preview style, with aliasing + // "Wraps" |