aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 12:07:07 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 12:07:07 +0100
commitbdc81e355e5bee5d2a3e29346ba08f7bc55196ca (patch)
treea5a62ba0b7fd5a354b6523cff768099281d317a1 /src/crepe/api/Camera.h
parent88f613cbb2e4aaf3ed55ac0c6490706dd6f6f19d (diff)
adjusted branch based on feedback
Diffstat (limited to 'src/crepe/api/Camera.h')
-rw-r--r--src/crepe/api/Camera.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/crepe/api/Camera.h b/src/crepe/api/Camera.h
index dfccd24..d7292ef 100644
--- a/src/crepe/api/Camera.h
+++ b/src/crepe/api/Camera.h
@@ -28,25 +28,17 @@ public:
//! Background color of the camera view.
Color bg_color;
- /**
- * \pos The position of the camera in world units
- */
+ //! pos The position of the camera in world units
Vector2 pos = {0, 0};
- /**
- * \screen the display size in pixels ( output resolution )
- */
+ //! screen the display size in pixels ( output resolution )
Vector2 screen = {640, 480};
- /**
- * \viewport is the area of the world visible through the camera (in world units)
- */
+ //! viewport is the area of the world visible through the camera (in world units)
Vector2 viewport = {500, 500};
- /**
- * \scale scaling factor from world units to pixel coordinates
- */
- Vector2 scale = {0,0};
+ //! scale scaling factor from world units to pixel coordinates
+ Vector2 scale = {0, 0};
//! Zoom level of the camera view.
double zoom = 1.0f;