aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-23 20:03:18 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-23 20:03:18 +0200
commit3789031ac520b393969bbedd55444e3fd2b7f1fa (patch)
tree212f78845ae1f8972a96636e8425b080a64c7e05 /src/crepe/api/Transform.cpp
parentedbb6c892299e3b7f93638abcc9e55b2cfce2358 (diff)
parentc9246515fe785563411e9170aedd0231165ab988 (diff)
merge with niels/rendering
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index c83461f..4f22843 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -1,13 +1,15 @@
#include "Transform.h"
+#include "Component.h"
#include "api/Point.h"
#include "util/log.h"
+#include <cstdint>
using namespace crepe::api;
-Transform::Transform(Point & point, double rot, double scale)
- : position(point), rotation(rot), scale(scale) {
+Transform::Transform(uint32_t game_id, Point & point, double rot, double scale)
+ : Component(game_id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}
Transform::~Transform() { dbg_trace(); }