Recodet from this example here:
Youtube: One Formula That Demystifies 3D Graphics / by tsoding