diff options
author | Julian T <julian@jtle.dk> | 2020-07-26 12:56:27 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-07-26 12:56:27 +0200 |
commit | 893176a0b18a2281abe09def716ccc3db5583c3f (patch) | |
tree | a34da79b7dc0fcdbdd39e2a3f4000cc6a1c0a896 /src/scene.cpp | |
parent | 18960c4b88ce912e08b12182b835a7de75388b78 (diff) |
Implemented object intersection and startet work on render gui
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 d65dca7..d866fe4 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::addObject(Object &obj) { + objs.push_back(&obj); } |