Exemple #1
0
 public static float AngleBetweenVectors(Vector2 a, Vector2 b)
 {
     return(FlaiMath.Atan2(a.x * b.y - a.y * b.x, a.x * b.x + a.y * b.y));
 }