Temporary arrays for vertex data instead of model
Split up vertex_cb into separate functions to get rid of switch case