aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-23 18:44:24 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-23 18:44:24 +0200
commit1b96c6e3c57b9d1dc5fb02cbd24b625d7f7f5b05 (patch)
tree2dfb9cbaf7cfc80ae5ab5536419af0e19994908f /src/crepe/api/Transform.cpp
parent0d2491e8619ec9012381ed3e39e85e37e0cb7765 (diff)
moved transform
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
new file mode 100644
index 0000000..2c39523
--- /dev/null
+++ b/src/crepe/api/Transform.cpp
@@ -0,0 +1,6 @@
+#include "Transform.h"
+
+using namespace crepe;
+
+Transform::Transform(uint32_t gameObjectId,Position position, int rotation, int scale)
+ : Component(gameObjectId), postion(postion), rotation(rotation), scale(scale) {}