Example #1
0
        public float GetRotationTo(float x, float y)
        {
            float r = MathUtils.Atan2(x - X(), y - Y());

            return(ShapeUtils.GetAngleDiff(rotation, r));
        }