diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-11-28 05:19:59 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-11-28 05:19:59 +0100 |
commit | 5b63a7937c95c3737826cb2b43cb607b96f26011 (patch) | |
tree | 83bd8ec11e405f656f4d0b6e8f5b3b638fc4c6c7 /src | |
parent | dc5c6f08f6bd83356a5dbf2f31e15354210f5937 (diff) | |
download | engine-5b63a7937c95c3737826cb2b43cb607b96f26011.tar.gz |
fixed a small bug
Diffstat (limited to 'src')
-rw-r--r-- | src/o3d/scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/o3d/scene.cpp b/src/o3d/scene.cpp index aba25dc..50f83be 100644 --- a/src/o3d/scene.cpp +++ b/src/o3d/scene.cpp @@ -6,7 +6,7 @@ using namespace engine::o3d; Scene::Scene(Camera camera, std::vector<Object3D> objs) : camera{camera}, objs{objs} { - this.camera.scene = this; - for (auto& obj : this.objs) + this->camera.scene = this; + for (auto& obj : this->objs) obj.scene = this; } |