pioneerspacesim/pioneer — pull request #1024 by Luomu (2012-02-26 23:36:22+00:00)
Title: Remove gluSphere

Replace one GLUT dependency with a custom solution, a Sphere3D drawable. gluSphere was used in shield and explosion effects. After this, the only big remaining dependency is gluTessellator in VectorFont (gluUnProject in Frustum can't be too hard to replace).

The Sphere3D drawable itself is partly copied from LmrModel sadly, but it is not exactly easy to separate the model building functions for general use. As an extra bonus this one has texture coordinates, though.

To test shield effects: Spawn dummy ships with ctrl-F12 or annoy some cops.
To test explosions: Spawn dummy ships in cities ;) or spawn infinite missiles with ctrl-rightshift-F12.