killed a bug

This commit is contained in:
tth 2020-07-24 13:45:17 +02:00
parent 3849485c02
commit be3338eb5f
1 changed files with 2 additions and 1 deletions

View File

@ -51,8 +51,9 @@ for (x=0; x<fimg->width; x++) {
val = ((double)x / (double)fimg->width) * dval;
for (y=0; y<20; y++) {
fimg_plot_rgb(fimg, x, k+y, val, val, val);
fimg_plot_rgb(fimg, x, k+y+20, 1-val, 1-val, 1-val);
fimg_plot_rgb(fimg, x, k+y+20, dval-val, dval-val, dval-val);
}
// fprintf(stderr, " %6d %f\n", x, val);
}