|
|
@ -329,7 +329,7 @@ RMAPI float Vector2DistanceSqr(Vector2 v1, Vector2 v2) |
|
|
|
} |
|
|
|
|
|
|
|
// Calculate the signed angle from v1 to v2, relative to the origin (0, 0) |
|
|
|
// NOTE: Coordinate system convention: positive X right, positive Y down, |
|
|
|
// 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) |
|
|
|
{ |
|
|
|