killed a bug
This commit is contained in:
parent
3849485c02
commit
be3338eb5f
@ -51,8 +51,9 @@ for (x=0; x<fimg->width; x++) {
|
|||||||
val = ((double)x / (double)fimg->width) * dval;
|
val = ((double)x / (double)fimg->width) * dval;
|
||||||
for (y=0; y<20; y++) {
|
for (y=0; y<20; y++) {
|
||||||
fimg_plot_rgb(fimg, x, k+y, val, val, val);
|
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…
Reference in New Issue
Block a user