I have a model in which I store my vertex data to draw a surface, every thing is OK but color of vertexes dose not work?

GLfloat ctrlpoints[model->rowCount()][model->columnCount()][3];
for (int i...