title: How to rotate actor using the shortest direction in libgdx, scene2d?
body: <p>When I want to rotate an actor using the <code>RotateToAction</code>, e.g. from 0 degrees to 300 degrees, the actor rotates 300 degrees (duh), but the same could be achieved with counterclockwise rotation of 60 degrees, which is what I want.</p>
  
  <p>If I use the <code>RotateByAction</code> and set the angle to negative 60 degrees, I get a negative rotation value for my actor, which is also not what I want. </p>
  
  <p>So how to use either action to rotate my actor to a certain angle, always using the shortest rotation and maintain a positive rotation value between 0 and 360?</p>