aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/AbsoluutPosition.cpp
diff options
context:
space:
mode:
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));
}
-