diff options
author | Julian T <julian@jtle.dk> | 2020-08-06 19:21:49 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-08-06 19:22:37 +0200 |
commit | 4348cc9581bfea05359485c5d2d074132d0271da (patch) | |
tree | 0c6d92a90ac4cf9acd326f632dcdc962ddca013a /src/scene.cpp | |
parent | 893176a0b18a2281abe09def716ccc3db5583c3f (diff) |
Renders scenes with a single hardcoded light and green objects
Diffstat (limited to 'src/scene.cpp')
-rw-r--r-- | src/scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scene.cpp b/src/scene.cpp index d866fe4..a8c0695 100644 --- a/src/scene.cpp +++ b/src/scene.cpp @@ -1,5 +1,5 @@ #include "scene.hpp" -void Scene::addObject(Object &obj) { - objs.push_back(&obj); +void Scene::addShape(const Shape *obj) { + objs.push_back(obj); } |