aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.h
diff options
context:
space:
mode:
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;