Changeset 3746 in orxonox.OLD for orxonox/branches/levelloader/src/world_entities/terrain.cc
- Timestamp:
- Apr 7, 2005, 3:54:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/world_entities/terrain.cc
r3605 r3746 16 16 17 17 #include "terrain.h" 18 18 #include "stdincl.h" 19 #include "model.h" 20 #include "vector.h" 19 21 #include "glincl.h" 20 22 … … 43 45 if (strstr(fileName, ".obj") || strstr(fileName, ".OBJ")) 44 46 { 45 this->model = ( OBJModel*)new OBJModel(fileName);47 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_LEVEL); 46 48 } 47 49 else
Note: See TracChangeset
for help on using the changeset viewer.