From 2116d62c6395155ffeb548ea923d03c1853b9868 Mon Sep 17 00:00:00 2001 From: tonton th Date: Tue, 23 Feb 2021 11:32:10 +0100 Subject: [PATCH] math error ? --- Fonderie/glitches.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fonderie/glitches.c b/Fonderie/glitches.c index 9666c42..40f0a4e 100644 --- a/Fonderie/glitches.c +++ b/Fonderie/glitches.c @@ -34,7 +34,7 @@ for (idx=0; idx < pimg->height; idx++) { // fprintf(stderr, "%6d %6d\n", idx, sline); pimg->R[pos] = pimg->G[pos]; pimg->B[pos] = pimg->G[pos]; - pimg->G[pos] *= 1.414; + pimg->G[pos] *= 1.717; } return 0;