Added recursion depth as a CL option.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-12 13:03:29 -04:00
parent f93635b03b
commit 8c33e46b3d
8 changed files with 156 additions and 122 deletions

View File

@@ -8,7 +8,7 @@ class WhittedTracer: public Tracer {
public:
WhittedTracer(): Tracer() { }
WhittedTracer(int h, int w, float fov): Tracer(h, w, fov) { };
WhittedTracer(int h, int w, float fov, unsigned int max_depth): Tracer(h, w, fov, max_depth) { };
virtual ~WhittedTracer();