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.h | |
parent | 1cdaa2aaeb1b6bc71876b462fcc464800ec75732 (diff) |
implemented loek feedback
Diffstat (limited to 'src/crepe/api/Camera.h')
-rw-r--r-- | src/crepe/api/Camera.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Camera.h b/src/crepe/api/Camera.h index 3682222..2d8fa48 100644 --- a/src/crepe/api/Camera.h +++ b/src/crepe/api/Camera.h @@ -22,7 +22,7 @@ public: * \param bg_color Background color for the camera view. */ Camera(game_object_id_t id, const Color & bg_color, const ivec2 & screen, - const ivec2 & viewport, const double & zoom, const vec2 & offset = {0, 0}); + const vec2 & viewport_size, const double & zoom, const vec2 & offset = {0, 0}); ~Camera(); // dbg_trace only public: @@ -36,7 +36,7 @@ public: const ivec2 screen; //! viewport is the area of the world visible through the camera (in world units) - const ivec2 viewport; + const vec2 viewport_size; //! Zoom level of the camera view. const double zoom; |