THIS IS REALLY OLD LEGACY CODE Please head to the new repo which runs on VBE and has nicer code, nicer shading, shadow maps, dynamic lighting, and is 500% faster. This repo is kept just for the sake of nostalgia.