aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/AbsoluutPosition.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:22:35 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:22:35 +0100
commit5bece30f9ad495a0e82097b2c5668e979856fb69 (patch)
tree82d897004f17dfe06f6453ebc9f244ed0d4d53a7 /src/crepe/util/AbsoluutPosition.cpp
parentea7beae5974838b6e1727c539b0899ad157bc1fb (diff)
make format
Diffstat (limited to 'src/crepe/util/AbsoluutPosition.cpp')
-rw-r--r--src/crepe/util/AbsoluutPosition.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/util/AbsoluutPosition.cpp b/src/crepe/util/AbsoluutPosition.cpp
index 8be625e..296cc09 100644
--- a/src/crepe/util/AbsoluutPosition.cpp
+++ b/src/crepe/util/AbsoluutPosition.cpp
@@ -2,7 +2,7 @@
using namespace crepe;
-vec2 AbsoluutPosition::get_position(const Transform & transform,const vec2 & offset) {
+vec2 AbsoluutPosition::get_position(const Transform & transform, const vec2 & offset) {
// Get the rotation in radians
float radians1 = transform.rotation * (M_PI / 180.0);
@@ -18,4 +18,3 @@ vec2 AbsoluutPosition::get_position(const Transform & transform,const vec2 & off
// Final positions considering scaling and rotation
return (transform.position + vec2(rotated_total_offset_x1, rotated_total_offset_y1));
}
-