From 5b63a7937c95c3737826cb2b43cb607b96f26011 Mon Sep 17 00:00:00 2001 From: vimene Date: Tue, 28 Nov 2023 05:19:59 +0100 Subject: fixed a small bug --- src/o3d/scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/o3d/scene.cpp') 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 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; } -- cgit v1.2.3