public Vector2 CurrentAxis { get; private set; }
public float CurrentRadian { get { return Mathf.Atan2(CurrentAxis.x, CurrentAxis.y); } }
public float CurrentDegree { get { return Mathf.Atan2(CurrentAxis.x, CurrentAxis.y) * Mathf.Rad2Deg; } }
public float CurrentEulerAngles { get { return Mathf.Atan2(CurrentAxis.y, CurrentAxis.x) / Mathf.PI * 180 - 90; } }
轴转弧度/角度/欧拉角
最新推荐文章于 2023-07-14 11:11:41 发布