(1): 2:
dwoisty angleInRadians = Math.Atan (y2-y1, x2-x1); dwoisty angleInDegrees = angleInRadians/Math.PI * 180.0f;