diff --git a/funcs/rampes.c b/funcs/rampes.c index 1680b0d..491b68b 100644 --- a/funcs/rampes.c +++ b/funcs/rampes.c @@ -21,7 +21,6 @@ if (FIMG_TYPE_RGB != img->type) { fprintf(stderr, "%s bad type\n", __func__); return -6; } - for (x=0; xwidth; x++) { value = (float)x / (float)img->width; @@ -34,6 +33,9 @@ for (x=0; xwidth; x++) return 0; } /* --------------------------------------------------------------------- */ +/* + * wtf ? ther's no way to have the black at the bottom ? + */ int fimg_vdeg_a(FloatImg *img, double dcoef) { int x, y; @@ -47,7 +49,6 @@ if (FIMG_TYPE_RGB != img->type) { fprintf(stderr, "%s bad type\n", __func__); return -6; } - for (y=0; yheight; y++) { value = (float)y / (float)img->height;