From 503cd7ba346de36ec0272442b6bca84f656da8f4 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 1 Dec 2024 22:45:09 +0100 Subject: [PATCH] Update raymath.h --- src/raymath.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raymath.h b/src/raymath.h index 3c8d2614..caf04a32 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -328,9 +328,9 @@ RMAPI float Vector2DistanceSqr(Vector2 v1, Vector2 v2) return result; } -// Calculate the signed angle from v1 to v2, relative to the origin (0, 0). -// NOTE: In Raylib's 2D coordinate system (positive X right, positive Y down), -// positive angles appear clockwise, and negative angles appear counterclockwise. +// Calculate the signed angle from v1 to v2, relative to the origin (0, 0) +// NOTE: Coordinate system convention: positive X right, positive Y down, +// positive angles appear clockwise, and negative angles appear counterclockwise RMAPI float Vector2Angle(Vector2 v1, Vector2 v2) { float result = 0.0f;