Remove a bunch of debugging printfs and add verbosity levels

This commit is contained in:
Eryn Wells 2014-07-19 16:04:47 -07:00
parent 17df0d4adf
commit 41327c92fd
5 changed files with 46 additions and 44 deletions

View file

@ -18,6 +18,9 @@
#include "writer_png.h"
int verbosity = 0;
static void
usage(const char *progname)
{
@ -75,7 +78,7 @@ main(int argc,
outfile = optarg;
break;
case 'v':
/* TODO: Verbosity levels. */
++verbosity;
break;
}
}
@ -88,6 +91,10 @@ main(int argc,
infile = argv[optind];
if (outfile.empty()) {
outfile = "charles_out.png";
}
/* Parse YAML files. */
YAMLReader reader(scene);
for (int i = optind; i < argc; i++) {