aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r--src/crepe/api/Transform.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h
index c9d46c5..7b74e43 100644
--- a/src/crepe/api/Transform.h
+++ b/src/crepe/api/Transform.h
@@ -1,11 +1,15 @@
#pragma once
-#include "Component.h"
-#include "api/Point.h"
#include <cstdint>
+
+#include "api/Point.h"
+
+#include "Component.h"
+
namespace crepe::api {
class Transform : public Component {
+
public:
Transform(uint32_t id, Point &, double, double);
~Transform();
@@ -13,4 +17,5 @@ public:
double rotation; // Rotation, in radians
double scale; // Multiplication factoh
};
+
} // namespace crepe::api