|
@@ -164,6 +164,7 @@ parse_params (Params *params, int argc, char **argv)
|
|
|
{ "vw", 0, 0, G_OPTION_ARG_INT, ¶ms->v_size[0], "Width of box", "[int]" },
|
|
|
{ "vh", 0, 0, G_OPTION_ARG_INT, ¶ms->v_size[1], "Height of box", "[int]" },
|
|
|
{ "vd", 0, 0, G_OPTION_ARG_INT, ¶ms->v_size[2], "Depth of box", "[int]" },
|
|
|
+ { "z-spacing", 0, 0, G_OPTION_ARG_DOUBLE, ¶ms->z_spacing, "Z-spacing", "[int]" },
|
|
|
{ "interactive", 0, 0, G_OPTION_ARG_NONE, ¶ms->interactive, "Start interactive mode", "" },
|
|
|
{ NULL }
|
|
|
};
|
|
@@ -214,6 +215,7 @@ main (int argc, char **argv)
|
|
|
.px_variation = 0.0,
|
|
|
.v_size = {256, 256, 256},
|
|
|
.v_origin = {0.0, 0.0, 0.0},
|
|
|
+ .z_spacing = 1.0,
|
|
|
.cache = NULL,
|
|
|
};
|
|
|
|