- Timestamp:
- Nov 12, 2004, 9:33:01 PM (20 years ago)
- Location:
- orxonox/trunk/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/framework.cc
r2837 r2846 46 46 return 0; 47 47 } 48 if (argc 48 if (argc>=3) 49 49 obj = new Object (argv[1], atof(argv[2])); 50 else 50 else if (argc>=2) 51 51 obj = new Object(argv[1]); 52 52 else obj = new Object(); 53 53 GLfloat lmodelAmbient[] = {.1, .1, .1, 1.0}; 54 54 glLightfv(GL_LIGHT0, GL_DIFFUSE, whiteLight); -
orxonox/trunk/importer/object.cc
r2842 r2846 24 24 25 25 initialize(); 26 27 importFile ("");26 // importFile (""); 27 BoxObject(); 28 28 29 29 finalize(); … … 109 109 if (verbose >=3) 110 110 printf("finalizing the 3D-Object\n"); 111 OBJ_FILE->close();112 111 glEnd(); 113 112 glEndList(); … … 183 182 readVertexTexture(Buffer+3); 184 183 } 185 186 187 } 188 189 190 191 184 } 185 OBJ_FILE->close(); 186 192 187 } 193 188
Note: See TracChangeset
for help on using the changeset viewer.