diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 19:21:56 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 19:21:56 +0100 |
commit | 05e099c03a2242bf5194d06191a0ff667d404817 (patch) | |
tree | 0904b649fe224482516d6c5fd71a25f1d2d91802 /src/crepe/api/Camera.cpp | |
parent | 83ee80ea439fc6a9042307a25b214b3efcf28d91 (diff) |
implemented feedback
Diffstat (limited to 'src/crepe/api/Camera.cpp')
-rw-r--r-- | src/crepe/api/Camera.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Camera.cpp b/src/crepe/api/Camera.cpp index b042c35..179dc18 100644 --- a/src/crepe/api/Camera.cpp +++ b/src/crepe/api/Camera.cpp @@ -1,17 +1,17 @@ -#include "types.h" #include "util/Log.h" #include "Camera.h" #include "Component.h" +#include "types.h" using namespace crepe; Camera::Camera(game_object_id_t id, const ivec2 & screen, const vec2 & viewport_size, - const Data & ctx) + const Data & data) : Component(id), screen(screen), viewport_size(viewport_size), - data(ctx) { + data(data) { dbg_trace(); } |