From 62664c00a6f0bdcadd148018dce4fd93abbf61f4 Mon Sep 17 00:00:00 2001 From: tTh Date: Tue, 4 Apr 2023 08:57:34 +0200 Subject: [PATCH] added two digits to output file --- bubulles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bubulles.c b/bubulles.c index 7f0e1ca..c6b0724 100644 --- a/bubulles.c +++ b/bubulles.c @@ -229,7 +229,7 @@ fprintf(stderr, "*** %s : array at %p, sz %d\n", __func__, ar, bbl->size); #endif for (idx=0; idxfidx; 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);