aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/AbsoluutPosition.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:14:46 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:14:46 +0100
commit16f3aa77cfbfd3327a50a3f11f27e7d7dd303026 (patch)
treee57bc35f9d784e9b93d9ff77428c0612ae835603 /src/crepe/util/AbsoluutPosition.h
parentb2a7105fa88b7d23dcb5b698c3c10b76c19c789b (diff)
Added util for position
Diffstat (limited to 'src/crepe/util/AbsoluutPosition.h')
-rw-r--r--src/crepe/util/AbsoluutPosition.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/crepe/util/AbsoluutPosition.h b/src/crepe/util/AbsoluutPosition.h
new file mode 100644
index 0000000..4441f90
--- /dev/null
+++ b/src/crepe/util/AbsoluutPosition.h
@@ -0,0 +1,17 @@
+#pragma once
+
+
+#include "api/Transform.h"
+
+#include "types.h"
+
+namespace crepe {
+
+
+class AbsoluutPosition {
+public:
+ static vec2 get_position(const Transform & transform,const vec2 & offset);
+
+};
+
+} // namespace crepe