aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.h
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.h
parent97515abfb2859e289df9d65d7106f35159749131 (diff)
add game_object_id_t type
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r--src/crepe/api/Transform.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h
index 69ea48f..1104e99 100644
--- a/src/crepe/api/Transform.h
+++ b/src/crepe/api/Transform.h
@@ -1,7 +1,5 @@
#pragma once
-#include <cstdint>
-
#include "api/Point.h"
#include "Component.h"
@@ -22,7 +20,7 @@ public:
* \param rot The rotation of the GameObject
* \param scale The scale of the GameObject
*/
- Transform(uint32_t id, const Point & point, double rot, double scale);
+ Transform(game_object_id_t id, const Point & point, double rot, double scale);
/**
* \brief Get the maximum number of instances for this component
*