Changeset 6191 in orxonox.OLD for branches/christmas_branche/src/subprojects
- Timestamp:
- Dec 20, 2005, 3:24:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/subprojects/importer/importer.cc
r6184 r6191 45 45 obj = new OBJModel (argv[1], atof(argv[2])); 46 46 else if( strstr(argv[1], ".md2") != NULL) 47 { 47 48 obj = new MD2Model(argv[1], argv[2]); 49 ((MD2Model*)obj)->tick(0.1f); 50 } 48 51 } 49 52 else if (argc>=2) … … 51 54 if( strstr(argv[1], ".obj") != NULL) 52 55 obj = new OBJModel(argv[1]); 53 else if( strstr(argv[1], ".md2") != NULL) 56 else if( strstr(argv[1], ".md2") != NULL) { 54 57 obj = new MD2Model(argv[1], "fake_texture.bad"); 58 obj = new MD2Model(argv[1], argv[2]); 59 ((MD2Model*)obj)->tick(0.1f); 60 } 55 61 } 56 62 else
Note: See TracChangeset
for help on using the changeset viewer.