diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:08:09 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:08:09 +0100 |
commit | 1c4156ee127b14760ed3b1a0cd16ad12180c7ac6 (patch) | |
tree | 211505d5328f24c9f9beabf8f874d9e13ef92130 /src/crepe/api/Transform.cpp | |
parent | 9df087ede0b539ecbd2778236c7d1143362b384d (diff) | |
parent | 3d2428af8e8d9d49b4ade52d4806a7dae4cf1ab8 (diff) |
merge `master` into `loek/savemgr`
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r-- | src/crepe/api/Transform.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp index 70b16bd..a244bc5 100644 --- a/src/crepe/api/Transform.cpp +++ b/src/crepe/api/Transform.cpp @@ -1,16 +1,11 @@ -#include <cstdint> - -#include "api/Point.h" #include "util/log.h" -#include "Component.h" #include "Transform.h" using namespace crepe; -Transform::Transform(uint32_t game_id, const Point & point, double rot, - double scale) - : Component(game_id), position(point), rotation(rot), scale(scale) { +Transform::Transform(game_object_id_t id, const Vector2 & point, + double rotation, double scale) + : Component(id), position(point), rotation(rotation), scale(scale) { dbg_trace(); } -Transform::~Transform() { dbg_trace(); } |