diff options
-rw-r--r-- | attract.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -127,14 +127,6 @@ int main(int argc,char **argv){ .exponent=8.5 }; - printf("Config:\n"); - printf("unitsz = %lf\n",cfg.unitsz); - printf("width = %d\n",cfg.width); - printf("height = %d\n",cfg.height); - printf("midx = %lf\n",cfg.midx); - printf("midy = %lf\n",cfg.midy); - printf("exponent = %lf\n",cfg.exponent); - if(argc>=2){ cfg.exponent=strtod(argv[1],NULL); } @@ -145,6 +137,14 @@ int main(int argc,char **argv){ fname="out.png"; } + printf("Config:\n"); + printf("unitsz = %lf\n",cfg.unitsz); + printf("width = %d\n",cfg.width); + printf("height = %d\n",cfg.height); + printf("midx = %lf\n",cfg.midx); + printf("midy = %lf\n",cfg.midy); + printf("exponent = %lf\n",cfg.exponent); + unsigned char img[cfg.width*cfg.height*3]; int nthreads=sysconf(_SC_NPROCESSORS_ONLN); |