aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
commitbe58cc9342a775c21ec2ee28923414a5c612fe6e (patch)
tree6cfc5f7d4d403482afc5131f77369c99f0da1241 /src/crepe/api/Transform.cpp
parent97515abfb2859e289df9d65d7106f35159749131 (diff)
add game_object_id_t type
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index be1769e..5fb66b3 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -6,8 +6,8 @@
using namespace crepe;
-Transform::Transform(uint32_t game_id, const Point & point, double rot,
+Transform::Transform(game_object_id_t id, const Point & point, double rot,
double scale)
- : Component(game_id), position(point), rotation(rot), scale(scale) {
+ : Component(id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}