diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-12-12 22:59:21 -0500 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-12-12 23:15:46 -0500 |
commit | cb25af3547e469e2296d5d7621331db54c4fe362 (patch) | |
tree | 5858e227a3cefe485e7375b11ceac4ecb099051e /src/raytracer | |
parent | 27304e9b491b39fbcef915838b95deaf7fe8d92a (diff) |
updat ray tracer to include depth
Diffstat (limited to 'src/raytracer')
-rw-r--r-- | src/raytracer/raytracescene.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raytracer/raytracescene.h b/src/raytracer/raytracescene.h index a380adc..35e4fb4 100644 --- a/src/raytracer/raytracescene.h +++ b/src/raytracer/raytracescene.h @@ -32,6 +32,9 @@ public: KdTree *m_kdTree; bvh *m_bvh; + + const int &depth() const; + private: int m_width; int m_height; @@ -41,5 +44,4 @@ private: std::vector<SceneLightData>m_lights; int m_depth; - const int &depth() const; }; |