diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-18 21:13:55 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-18 21:13:55 +0100 |
commit | 3855044ad97a41ca71b0d3ea2240f4eee93cc86f (patch) | |
tree | 204cc74691888b119d2b9c0c1a45fd8402758d0e /src/crepe/util/AbsolutePosition.h | |
parent | 6e92c59b3364b00eb15c310120b93acc83ca504e (diff) |
updating collision system
Diffstat (limited to 'src/crepe/util/AbsolutePosition.h')
-rw-r--r-- | src/crepe/util/AbsolutePosition.h | 14 |
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 |