Browse Source

killed a bug

master
tth 2 years ago
parent
commit
be3338eb5f
  1. 3
      funcs/misc-plots.c

3
funcs/misc-plots.c

@ -51,8 +51,9 @@ for (x=0; x<fimg->width; x++) { @@ -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);
}

Loading…
Cancel
Save