aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Camera.h4
-rw-r--r--src/crepe/api/Color.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Camera.h b/src/crepe/api/Camera.h
index d7292ef..c42ed0d 100644
--- a/src/crepe/api/Camera.h
+++ b/src/crepe/api/Camera.h
@@ -32,10 +32,10 @@ public:
Vector2 pos = {0, 0};
//! screen the display size in pixels ( output resolution )
- Vector2 screen = {640, 480};
+ Vector2 screen = {1080, 720};
//! viewport is the area of the world visible through the camera (in world units)
- Vector2 viewport = {500, 500};
+ Vector2 viewport = {2000, 1000};
//! scale scaling factor from world units to pixel coordinates
Vector2 scale = {0, 0};
diff --git a/src/crepe/api/Color.cpp b/src/crepe/api/Color.cpp
index 29bd77a..dc7c15f 100644
--- a/src/crepe/api/Color.cpp
+++ b/src/crepe/api/Color.cpp
@@ -2,7 +2,7 @@
using namespace crepe;
-const Color Color::WHITE{0xff, 0xff, 0xff};
+const Color Color::WHITE{0xff, 0xff, 0xff, 0xff};
const Color Color::RED{0xff, 0x00, 0x00};
const Color Color::GREEN{0x00, 0xff, 0x00};
const Color Color::BLUE{0x00, 0x00, 0xff};