aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index 2c39523..c83461f 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -1,6 +1,13 @@
+
+
#include "Transform.h"
+#include "api/Point.h"
+#include "util/log.h"
-using namespace crepe;
+using namespace crepe::api;
-Transform::Transform(uint32_t gameObjectId,Position position, int rotation, int scale)
- : Component(gameObjectId), postion(postion), rotation(rotation), scale(scale) {}
+Transform::Transform(Point & point, double rot, double scale)
+ : position(point), rotation(rot), scale(scale) {
+ dbg_trace();
+}
+Transform::~Transform() { dbg_trace(); }