diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-28 12:53:15 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-28 12:53:15 +0100 |
commit | 9d9c4fc4565f0ef0fc81c8baeef804389f07afc2 (patch) | |
tree | f8bfb75a2b99f40de8d8cfb68136bd0b8ee68a39 /src/crepe/api/Camera.cpp | |
parent | 1cdaa2aaeb1b6bc71876b462fcc464800ec75732 (diff) |
implemented loek feedback
Diffstat (limited to 'src/crepe/api/Camera.cpp')
-rw-r--r-- | src/crepe/api/Camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Camera.cpp b/src/crepe/api/Camera.cpp index 0831f45..39d8ab0 100644 --- a/src/crepe/api/Camera.cpp +++ b/src/crepe/api/Camera.cpp @@ -8,12 +8,12 @@ using namespace crepe; Camera::Camera(game_object_id_t id, const Color & bg_color, const ivec2 & screen, - const ivec2 & viewport, const double & zoom, const vec2 & offset) + const vec2 & viewport_size, const double & zoom, const vec2 & offset) : Component(id), bg_color(bg_color), offset(offset), screen(screen), - viewport(viewport), + viewport_size(viewport_size), zoom(zoom) { dbg_trace(); } |