From 6bd0dbeb6cd663f7d1044af9122e8f04e47fc13a Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Thu, 19 Dec 2024 15:03:24 +0100 Subject: checkout jaro collision handlening branch --- src/crepe/util/AbsolutePosition.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/crepe/util/AbsolutePosition.h (limited to 'src/crepe/util/AbsolutePosition.h') 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 -- cgit v1.2.3