diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-12-12 22:57:38 -0500 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-12-12 22:57:38 -0500 |
commit | b4f50256edcbb66e831ee910c8f3af331457ceda (patch) | |
tree | 2ecb9f495ad31089ca76d7923f17dc7ff7130e8a /src/raytracer/raytracescene.h | |
parent | 29785b8a928d464b46cb5c977adf100ee966be6b (diff) |
update aspect ratio to be 3 dimensional
Diffstat (limited to 'src/raytracer/raytracescene.h')
-rw-r--r-- | src/raytracer/raytracescene.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/raytracer/raytracescene.h b/src/raytracer/raytracescene.h index b61bd2f..a380adc 100644 --- a/src/raytracer/raytracescene.h +++ b/src/raytracer/raytracescene.h @@ -14,9 +14,9 @@ class RayTraceScene { public: - RayTraceScene(int width, int height, const RenderData &metaData); + RayTraceScene(int width, int height, const RenderData &metaData, int depth=500); - // The getter of the width of the scene +// The getter of the width of the scene const int& width() const; // The getter of the height of the scene @@ -39,4 +39,7 @@ private: Camera& m_camera; std::vector<RenderShapeData>m_shapes; std::vector<SceneLightData>m_lights; + int m_depth; + + const int &depth() const; }; |