open a ticket ?

This commit is contained in:
le vieux 2020-11-15 20:57:52 +01:00
parent 8cb3d6e6a0
commit 1334d96822

View File

@ -21,7 +21,6 @@ if (FIMG_TYPE_RGB != img->type) {
fprintf(stderr, "%s bad type\n", __func__); fprintf(stderr, "%s bad type\n", __func__);
return -6; return -6;
} }
for (x=0; x<img->width; x++) for (x=0; x<img->width; x++)
{ {
value = (float)x / (float)img->width; value = (float)x / (float)img->width;
@ -34,6 +33,9 @@ for (x=0; x<img->width; x++)
return 0; return 0;
} }
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
/*
* wtf ? ther's no way to have the black at the bottom ?
*/
int fimg_vdeg_a(FloatImg *img, double dcoef) int fimg_vdeg_a(FloatImg *img, double dcoef)
{ {
int x, y; int x, y;
@ -47,7 +49,6 @@ if (FIMG_TYPE_RGB != img->type) {
fprintf(stderr, "%s bad type\n", __func__); fprintf(stderr, "%s bad type\n", __func__);
return -6; return -6;
} }
for (y=0; y<img->height; y++) for (y=0; y<img->height; y++)
{ {
value = (float)y / (float)img->height; value = (float)y / (float)img->height;