Compare commits
3 Commits
31ba65f01d
...
364ce06130
Author | SHA1 | Date | |
---|---|---|---|
364ce06130 | |||
922292adf8 | |||
1cc2f9caaf |
@ -3,7 +3,7 @@
|
|||||||
* ugly code from tTh
|
* ugly code from tTh
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FIMG_VERSION 111
|
#define FIMG_VERSION 112
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* in memory descriptor
|
* in memory descriptor
|
||||||
|
@ -47,7 +47,7 @@ range = delta[0]; if (delta[1]<range) range=delta[1];
|
|||||||
/* convertir le diametre en rayon (magic inside) */
|
/* convertir le diametre en rayon (magic inside) */
|
||||||
range *= fval;
|
range *= fval;
|
||||||
|
|
||||||
if (verbosity ) fprintf(stderr, "deltas : %f %f %f / %f\n",
|
if (verbosity > 1) fprintf(stderr, "deltas : %f %f %f / %f\n",
|
||||||
delta[0], delta[1], delta[2], range);
|
delta[0], delta[1], delta[2], range);
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ if (verbosity ) fprintf(stderr, "deltas : %f %f %f / %f\n",
|
|||||||
baryc[0] = (minmax[1] + minmax[0]) / 2;
|
baryc[0] = (minmax[1] + minmax[0]) / 2;
|
||||||
baryc[1] = (minmax[3] + minmax[2]) / 2;
|
baryc[1] = (minmax[3] + minmax[2]) / 2;
|
||||||
baryc[2] = (minmax[5] + minmax[4]) / 2;
|
baryc[2] = (minmax[5] + minmax[4]) / 2;
|
||||||
if (verbosity) fprintf(stderr, "barycs : %f %f %f\n",
|
if (verbosity > 1) fprintf(stderr, "barycs : %f %f %f\n",
|
||||||
baryc[0], baryc[1], baryc[2]);
|
baryc[0], baryc[1], baryc[2]);
|
||||||
|
|
||||||
on = off = 0;
|
on = off = 0;
|
||||||
@ -93,7 +93,7 @@ for (y=0; y<psrc->height; y++) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "on %d off %d\n", on, off);
|
if (verbosity > 1) fprintf(stderr, "on %d off %d\n", on, off);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user