summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raymath.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/raymath.h b/src/raymath.h
index b01b0b22..ff601703 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -324,8 +324,7 @@ RMAPI float Vector2Angle(Vector2 v1, Vector2 v2)
float dot = v1.x*v2.x + v1.y*v2.y;
float det = v1.x*v2.y - v1.y*v2.x;
- // TODO(10/9/2023): Currently angles move clockwise, determine if this is wanted behavior
- result = -atan2f(det, dot);
+ result = atan2f(det, dot);
return result;
}