diff options
Diffstat (limited to 'src/o3d/scene.cpp')
-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; } |