diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/patch/patch_system.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/patch/patch_system.cc b/src/patch/patch_system.cc index 78c958f..8396911 100644 --- a/src/patch/patch_system.cc +++ b/src/patch/patch_system.cc @@ -1997,6 +1997,8 @@ if (output_fp == NULL) output_file_name); /*NOTREACHED*/ fprintf(output_fp, "# N_patches = %d\n", N_patches()); +fprintf(output_fp, "# origin = %.15g %.15g %.15g\n", + double(origin_x()), double(origin_y()), double(origin_z())); fprintf(output_fp, "\n"); for (int pn = 0 ; pn < N_patches() ; ++pn) |