diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 15:42:25 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 15:42:25 +0100 |
commit | 7ec1fcfcff0c01d204ccbf1bac9919ba610b8606 (patch) | |
tree | cd48865b6af69a0d71a70a720b843b4b681f53bb /src/crepe/system/RenderSystem.cpp | |
parent | 3fbe1a5c72e7512a330111665482a5babf21cc15 (diff) |
implemented final max feedback
Diffstat (limited to 'src/crepe/system/RenderSystem.cpp')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 111ad7d..0ba71ec 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -33,7 +33,7 @@ SDLContext::CameraValues RenderSystem::update_camera() { const Transform & transform = mgr.get_components_by_id<Transform>(cam.game_object_id).front().get(); SDLContext::CameraValues cam_val = this->context.set_camera(cam); - cam_val.cam_pos = transform.position + cam.data.offset; + cam_val.cam_pos = transform.position + cam.data.postion_offset; return cam_val; } throw std::runtime_error("No active cameras in current scene"); |