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 | |
parent | 6e92c59b3364b00eb15c310120b93acc83ca504e (diff) |
updating collision system
Diffstat (limited to 'src/crepe/util')
-rw-r--r-- | src/crepe/util/AbsolutePosition.cpp (renamed from src/crepe/util/AbsoluutPosition.cpp) | 4 | ||||
-rw-r--r-- | src/crepe/util/AbsolutePosition.h (renamed from src/crepe/util/AbsoluutPosition.h) | 2 | ||||
-rw-r--r-- | src/crepe/util/CMakeLists.txt | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/util/AbsoluutPosition.cpp b/src/crepe/util/AbsolutePosition.cpp index 296cc09..29ade23 100644 --- a/src/crepe/util/AbsoluutPosition.cpp +++ b/src/crepe/util/AbsolutePosition.cpp @@ -1,8 +1,8 @@ -#include "AbsoluutPosition.h" +#include "AbsolutePosition.h" using namespace crepe; -vec2 AbsoluutPosition::get_position(const Transform & transform, const vec2 & offset) { +vec2 AbsolutePosition::get_position(const Transform & transform, const vec2 & offset) { // Get the rotation in radians float radians1 = transform.rotation * (M_PI / 180.0); diff --git a/src/crepe/util/AbsoluutPosition.h b/src/crepe/util/AbsolutePosition.h index 30a7f93..0bc8748 100644 --- a/src/crepe/util/AbsoluutPosition.h +++ b/src/crepe/util/AbsolutePosition.h @@ -6,7 +6,7 @@ namespace crepe { -class AbsoluutPosition { +class AbsolutePosition { public: static vec2 get_position(const Transform & transform, const vec2 & offset); }; diff --git a/src/crepe/util/CMakeLists.txt b/src/crepe/util/CMakeLists.txt index b4b9221..33160a7 100644 --- a/src/crepe/util/CMakeLists.txt +++ b/src/crepe/util/CMakeLists.txt @@ -1,7 +1,7 @@ target_sources(crepe PUBLIC LogColor.cpp Log.cpp - AbsoluutPosition.cpp + AbsolutePosition.cpp ) target_sources(crepe PUBLIC FILE_SET HEADERS FILES @@ -12,6 +12,6 @@ target_sources(crepe PUBLIC FILE_SET HEADERS FILES Proxy.hpp OptionalRef.h OptionalRef.hpp - AbsoluutPosition.h + AbsolutePosition.h ) |