Review tabs and trail-spaces
This commit is contained in:
parent
f1c31bee27
commit
93f59a6f59
5 changed files with 16 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue