fine tuning

master
tonton th 2 years ago
parent 3f44abc18d
commit b012e10b7e
  1. 6
      Fonderie/sfx.c

@ -21,7 +21,9 @@
extern int verbosity;
/* -------------------------------------------------------------- */
/*
* please, add some parameters !
*/
int incrustation_0(FloatImg *src, FloatImg *dst, int k)
{
int x, y, x4, y4;
@ -36,7 +38,7 @@ x4 = dst->width / 4, y4 = dst->height / 4;
for (y=0; y<y4; y++) {
for (x=0; x<x4; x++) {
fimg_get_rgb(src, x*4, y*4, rgb);
fimg_put_rgb(dst, x+19, y+19, rgb);
fimg_put_rgb(dst, x+39, y+39, rgb);
}
}

Loading…
Cancel
Save