Epigene.UI.UIChartPie.Angle C# (CSharp) Méthode

Angle() private méthode

private Angle ( Vector3 a, Vector3 b ) : float
a UnityEngine.Vector3
b UnityEngine.Vector3
Résultat float
		private float Angle(Vector3 a, Vector3 b)
		{
			float angle = (Mathf.Atan2(a.y, a.x) - Mathf.Atan2(b.y, b.x)) * Mathf.Rad2Deg;
			if (angle < 0.0f)
				angle += 360.0f;

			return angle;
		}