Better handling of command line arguments.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-12 10:54:48 -04:00
parent a7b025ce5e
commit f93635b03b
3 changed files with 126 additions and 45 deletions

View File

@@ -6,11 +6,9 @@
class WhittedTracer: public Tracer {
public:
bool indirect_l;
WhittedTracer(): Tracer() { }
WhittedTracer(): Tracer(), indirect_l(false) { }
WhittedTracer(int h, int w, float fov, bool il): Tracer(h, w, fov), indirect_l(il) { };
WhittedTracer(int h, int w, float fov): Tracer(h, w, fov) { };
virtual ~WhittedTracer();