aboutsummaryrefslogtreecommitdiff
path: root/src/scene.hpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-08-06 19:21:49 +0200
committerJulian T <julian@jtle.dk>2020-08-06 19:22:37 +0200
commit4348cc9581bfea05359485c5d2d074132d0271da (patch)
tree0c6d92a90ac4cf9acd326f632dcdc962ddca013a /src/scene.hpp
parent893176a0b18a2281abe09def716ccc3db5583c3f (diff)
Renders scenes with a single hardcoded light and green objects
Diffstat (limited to 'src/scene.hpp')
-rw-r--r--src/scene.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scene.hpp b/src/scene.hpp
index a06ccb4..f270409 100644
--- a/src/scene.hpp
+++ b/src/scene.hpp
@@ -6,9 +6,9 @@
class Scene {
public:
- void addObject(Object &obj);
+ void addShape(const Shape *obj);
- std::vector<Object*> objs;
+ std::vector<const Shape*> objs;
};