Changeset 3677 in orxonox.OLD for orxonox/trunk/src/world_entities/terrain.cc
- Timestamp:
- Mar 30, 2005, 6:15:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/terrain.cc
r3608 r3677 17 17 #include "terrain.h" 18 18 #include "stdincl.h" 19 #include " objModel.h"19 #include "model.h" 20 20 #include "vector.h" 21 21 #include "glincl.h" … … 45 45 if (strstr(fileName, ".obj") || strstr(fileName, ".OBJ")) 46 46 { 47 this->model = ( OBJModel*)new OBJModel(fileName);47 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_LEVEL); 48 48 } 49 49 else
Note: See TracChangeset
for help on using the changeset viewer.