summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--attract.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/attract.c b/attract.c
index 0ee39b6..838ad76 100644
--- a/attract.c
+++ b/attract.c
@@ -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);