aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-23 19:56:28 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-23 19:56:28 +0200
commitc9246515fe785563411e9170aedd0231165ab988 (patch)
treee3b713e1e1200b26861e951e0b1ac4ab64d4eab6 /src/crepe/api/Transform.h
parentadb7dfabec4811566308cd072e0542cd7eae8cc1 (diff)
rendering and assetmanager
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r--src/crepe/api/Transform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h
index a34ebb1..29e2a3d 100644
--- a/src/crepe/api/Transform.h
+++ b/src/crepe/api/Transform.h
@@ -2,11 +2,12 @@
#include "Component.h"
#include "api/Point.h"
+#include <cstdint>
namespace crepe::api {
class Transform : public Component {
public:
- Transform(Point&, double, double);
+ Transform(uint32_t id, Point&, double, double);
~Transform();
Point position; // Translation (shift)
double rotation; // Rotation, in radians