Box2DX.Common.Mat22.GetAngle C# (CSharp) Méthode

GetAngle() public méthode

Extract the angle from this matrix (assumed to be a rotation matrix).
public GetAngle ( ) : float
Résultat float
        public float GetAngle()
        {
            return Mathf.Atan2(Col1.y, Col1.x);
        }