elixiroflife4u/cs174a_term_project — pull request #5 by mikesech (2011-11-15 02:31:50+00:00)
Title: Globals::callbackDisplay() now draws transparent models last, farthest to nearest.

Extracted code that draws wEntities and wWalls into seperate template
function. It now iterates through the GameEntity's models (as opposed to
calling its draw()) and draws opaque objects. Transparent objects are
pushed onto a max-heap to be drawn -- farthest to nearest -- after all
other models are drawn.

This code will not compile since it requires Garrett's changes to be
present too, namely:
static const int GameEntity::MAX_MODELS
const DrawableEntity* GameEntity::getModelConst(i)
bool DrawableEntity::getAlphaFlag()