My version of BennyQBD's 3D engine.