src/GLCompiler.cc

changeset 704
d19213bec2f9
parent 703
ce2a76cebdbb
equal deleted inserted replaced
703:ce2a76cebdbb 704:d19213bec2f9
303 print ("OMGWTFBBQ weird polygon with number %1 (topobj: #%2, %3), origin: %4", 303 print ("OMGWTFBBQ weird polygon with number %1 (topobj: #%2, %3), origin: %4",
304 (int) poly.num, topobj->id(), topobj->typeName(), poly.origin); 304 (int) poly.num, topobj->id(), topobj->typeName(), poly.origin);
305 assert (false); 305 assert (false);
306 } 306 }
307 307
308 for (int complement = 0; complement < vboNumComplements; ++complement) 308 for (int complement = 0; complement < VBOCM_NumComplements; ++complement)
309 { 309 {
310 const int vbonum = vboNumber (surface, (EVBOComplement) complement); 310 const int vbonum = vboNumber (surface, (EVBOComplement) complement);
311 QVector<GLfloat>& vbodata = objinfo->data[vbonum]; 311 QVector<GLfloat>& vbodata = objinfo->data[vbonum];
312 const QColor normalColor = polygonColor (poly, topobj); 312 const QColor normalColor = polygonColor (poly, topobj);
313 const QColor pickColor = indexColorForID (topobj->id()); 313 const QColor pickColor = indexColorForID (topobj->id());
347 { 347 {
348 writeColor (vbodata, g_BFCBackColor); 348 writeColor (vbodata, g_BFCBackColor);
349 break; 349 break;
350 } 350 }
351 351
352 case vboNumComplements: 352 case VBOCM_NumComplements:
353 break; 353 break;
354 } 354 }
355 } 355 }
356 } 356 }
357 } 357 }

mercurial