How to rotate a single image around a remote point
<p>I'm developing a tube shooter-esque game in java that simulates 3D without actually using any 3D libraries. Right now I have a player-controlled ship that rotates around the center point of the screen, using (in this case, for moving right).</p>

<pre><code>    angle += 0.1;
    x = Math.cos(angle) * radius + cX;
    y = Math.sin(angle) * radius + cY;
</code></pre>

<p>Where <code>angle</code> is the placement in relation to the center point (ex. 270 is directly under the center), <code>x</code> and <code>y</code> are the current ship position, <code>radius</code> is the distance from the center, and <code>cX</code> and <code>cY</code> are the center point's location.</p>

<p>Right now revolving around the point works smoothly, but I'm not sure how to handle rotating the actual ship to always point towards the center. I've looked around a lot online but can't figure out how an individual <code>Image</code> (or if that doesn't work, an array of <code>drawLines</code>) can be rotated without affecting other objects on the screen.</p>

<p>Long story short, how would one go about rotating an individual <code>Image</code> to constantly point towards a remote x,y location?</p>
