aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 10:04:14 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 10:04:14 +0100
commit2d623522db0677ca5e88a53e3705a10ce59ba8b6 (patch)
treedd5acb4f0ab54e6f0e284181d9ee51e5ba4a7ce6 /src/crepe/api/Camera.h
parent71be3e36dbb402c3e84d87ea0255c08cb2a1b7ca (diff)
removed animator rectangle
Diffstat (limited to 'src/crepe/api/Camera.h')
-rw-r--r--src/crepe/api/Camera.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Camera.h b/src/crepe/api/Camera.h
index ac56495..3682222 100644
--- a/src/crepe/api/Camera.h
+++ b/src/crepe/api/Camera.h
@@ -33,13 +33,13 @@ public:
vec2 offset;
//! screen the display size in pixels ( output resolution )
- const ivec2 screen = {1080, 720};
+ const ivec2 screen;
//! viewport is the area of the world visible through the camera (in world units)
- const ivec2 viewport = {500, 1000};
+ const ivec2 viewport;
//! Zoom level of the camera view.
- const double zoom = 1.0f;
+ const double zoom;
public:
/**