added two digits to output file

This commit is contained in:
tTh 2023-04-04 08:57:34 +02:00
parent 52e5ace4e1
commit 62664c00a6

View File

@ -229,7 +229,7 @@ fprintf(stderr, "*** %s : array at %p, sz %d\n", __func__, ar, bbl->size);
#endif
for (idx=0; idx<bbl->fidx; idx++) {
fprintf(fp, "%12.6f %12.6f %12.6f",
fprintf(fp, "%15.8f %15.8f %15.8f",
ar[idx].p.x, ar[idx].p.y, ar[idx].p.z);
if (opts & 0x01) fprintf(fp, " %12.6f", ar[idx].d);
if (opts & 0x02) fprintf(fp, " %6d", ar[idx].gray);