Changeset 2755 in orxonox.OLD for orxonox/branches/importer
- Timestamp:
- Nov 8, 2004, 11:11:04 PM (20 years ago)
- Location:
- orxonox/branches/importer/importer
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/importer/importer/object.cc
r2754 r2755 5 5 this->readFromObjFile ("test"); 6 6 7 glEnableClientState (GL_VERTEX_ARRAY); 8 glVertexPointer(3, GL_FLOAT, 0, vertices->getArray()); 9 7 10 listNumber = glGenLists(1); 8 11 glNewList (listNumber, GL_COMPILE); 9 12 10 glEnableClientState (GL_VERTEX_ARRAY);11 glVertexPointer(3, GL_FLOAT, 0, vertices->getArray());12 13 13 glColor3f(1.0,0,0); 14 14 glBegin(GL_TRIANGLES);
Note: See TracChangeset
for help on using the changeset viewer.