aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/AbsoluutPosition.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-18 19:17:38 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-18 19:17:38 +0100
commitd0286486b5fddcfb32dcd1f3010aef5368ee678e (patch)
treeb5d73c664ec0a1884dec4238eba866411d49d9d8 /src/crepe/util/AbsoluutPosition.h
parentd8e6773be7206994716c29e1ee8195b10f094bdf (diff)
rendering met absoluut position util functie, particle ben ik nog jaro aan het overleggen dus er die werkt niet goed
Diffstat (limited to 'src/crepe/util/AbsoluutPosition.h')
-rw-r--r--src/crepe/util/AbsoluutPosition.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/crepe/util/AbsoluutPosition.h b/src/crepe/util/AbsoluutPosition.h
new file mode 100644
index 0000000..30a7f93
--- /dev/null
+++ b/src/crepe/util/AbsoluutPosition.h
@@ -0,0 +1,14 @@
+#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