Changeset 4021 in orxonox.OLD for orxonox/branches/heightMap/src/world_entities
- Timestamp:
- May 3, 2005, 12:55:39 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/heightMap/src/world_entities/terrain.cc
r3677 r4021 45 45 if (strstr(fileName, ".obj") || strstr(fileName, ".OBJ")) 46 46 { 47 // the obj case 47 48 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_LEVEL); 48 49 } 50 else if (strstr(fileName, ".bmp") || strstr(fileName, ".BMP")) 51 { 52 // the heightmap case 53 this->model = (Heightmap*)ResourceManager::getInstance()->load(fileName, BMP, RP_LEVEL); 54 } 49 55 else 50 56 { 51 // load the hightMap here.57 // nor .obj nor .bmp 52 58 } 53 59 }
Note: See TracChangeset
for help on using the changeset viewer.