aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/AbsolutePosition.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-18 21:13:55 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-18 21:13:55 +0100
commit3855044ad97a41ca71b0d3ea2240f4eee93cc86f (patch)
tree204cc74691888b119d2b9c0c1a45fd8402758d0e /src/crepe/util/AbsolutePosition.h
parent6e92c59b3364b00eb15c310120b93acc83ca504e (diff)
updating collision system
Diffstat (limited to 'src/crepe/util/AbsolutePosition.h')
-rw-r--r--src/crepe/util/AbsolutePosition.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/crepe/util/AbsolutePosition.h b/src/crepe/util/AbsolutePosition.h
new file mode 100644
index 0000000..0bc8748
--- /dev/null
+++ b/src/crepe/util/AbsolutePosition.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "api/Transform.h"
+
+#include "types.h"
+
+namespace crepe {
+
+class AbsolutePosition {
+public:
+ static vec2 get_position(const Transform & transform, const vec2 & offset);
+};
+
+} // namespace crepe