Changeset 2773 in orxonox.OLD for orxonox/branches/importer/importer/object.cc
- Timestamp:
- Nov 10, 2004, 12:03:51 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/importer/importer/object.cc
r2769 r2773 6 6 7 7 importFile ("reaphigh.obj"); 8 9 8 10 11 glColor3f(1.0,0,0); 12 /* glBegin(GL_QUADS); 13 printf ("face-count %i\n", faces->getCount()); 14 for (int i=0; i<=faces->getCount();++i) 15 {16 glArrayElement((int)faces->getArray()[i] -1); 17 }18 glEnd();*/ 9 finalize(); 10 } 11 12 Object::Object(char* fileName) 13 { 14 initialize(); 15 16 importFile (fileName); 17 19 18 finalize(); 20 19 } … … 50 49 { 51 50 glCallList (listNumber); 52 53 51 } 54 52 … … 175 173 glEnd(); 176 174 faceMode = 1; 177 printf ("%f\n", (float)rand()/2000000000.0);178 175 glColor3f((float)rand()/2000000000.0,(float)rand()/2000000000.0,(float)rand()/2000000000.0); 179 176 }
Note: See TracChangeset
for help on using the changeset viewer.