Tell me, please, why in the examples on C use a two-dimensional array:
const GLfloat vertex_data[3][3] = { { 0.0, 1.0, 0.0 }, { -1.0, -1.0, 0.0 }, { 1.0, -1.0, 0.0 } }; , and in python just stuffed into one list:
vertex_data = [ 0, 1, 0, -1, -1, 0, 1, -1, 0 ] ?
Pythoncreate a lot of arrays is expensive. - pank