mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-13 14:58:15 +00:00
Review tabs and trail-spaces
This commit is contained in:
@@ -315,11 +315,11 @@ RMAPI float Vector2DistanceSqr(Vector2 v1, Vector2 v2)
|
||||
RMAPI float Vector2Angle(Vector2 v1, Vector2 v2)
|
||||
{
|
||||
float result = 0.0f;
|
||||
|
||||
|
||||
float dot = v1.x*v2.x + v1.y*v2.y;
|
||||
float det = v1.x*v2.y - v1.y*v2.x;
|
||||
result = -atan2f(det, dot);
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ RMAPI float Vector2Angle(Vector2 v1, Vector2 v2)
|
||||
RMAPI float Vector2LineAngle(Vector2 start, Vector2 end)
|
||||
{
|
||||
float result = 0.0f;
|
||||
|
||||
|
||||
result = atan2f(end.y - start.y, end.x - start.x);
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user