aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 20:21:36 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 20:21:36 +0100
commit506de66aaecc9b82415dde46058b848e46bc7258 (patch)
treea3f2427b0882d07f2d960b7214170533ad241830 /src/crepe/api/Camera.cpp
parent7817c85e84560933a33ad86ec3f9ca3d48d327d5 (diff)
nitpicks (merge #27)
Diffstat (limited to 'src/crepe/api/Camera.cpp')
-rw-r--r--src/crepe/api/Camera.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/crepe/api/Camera.cpp b/src/crepe/api/Camera.cpp
index dbbfb32..820a6a8 100644
--- a/src/crepe/api/Camera.cpp
+++ b/src/crepe/api/Camera.cpp
@@ -3,15 +3,14 @@
#include "util/log.h"
-#include "Component.h"
-#include "Color.h"
#include "Camera.h"
+#include "Color.h"
+#include "Component.h"
using namespace crepe;
-Camera::Camera(uint32_t id, const Color & color)
- : Component(id), bg_color(color), aspect_width(640), aspect_height(480),
- zoom(1), x(0), y(0) {
+Camera::Camera(uint32_t id, const Color & bg_color)
+ : Component(id), bg_color(bg_color) {
dbg_trace();
}