pioneerspacesim/pioneer — pull request #768 by robn (2011-11-02 22:13:52+00:00)
Title: Star draw fixes

Previously the star halo has been drawn by projecting it to the gui 2d ortho screen. This both totally sucks and means it didn't draw in the right place on non-fullscreen cameras (eg Rocket's camera widget).

This reworks the halo draw such that it now draws in the normal world space, as it should.

While in there I noticed that I'd forgotten to change star draw clipping so that the halo gets drawn even when the main "body" of the star is off screen. I've added a `GetClipRadius` method to `Body` and include the star's radius in it for `Star::GetClipRadius`.