OpenGL: Moved vertex generation to init function. Performance impact seems negligible.