+ mesh = scn.meshlist;
+ while(mesh) {
+ float col[4];
+ col[0] = mesh->mtl.color.x;
+ col[1] = mesh->mtl.color.y;
+ col[2] = mesh->mtl.color.z;
+ col[3] = 1.0f;
+ glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, col);
+
+ draw_mesh(mesh);
+ mesh = mesh->next;
+ }