Updated primitive shape generation to allow for back face culling.