Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2005, 12:55:39 AM (20 years ago)
Author:
nico
Message:

branches/heightmap/: created new empty files for the heightmap class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/heightMap/src/world_entities/terrain.cc

    r3677 r4021  
    4545  if (strstr(fileName, ".obj") || strstr(fileName, ".OBJ"))
    4646    {
     47      // the obj case
    4748      this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_LEVEL);
    4849    }
     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    }
    4955  else
    5056    {
    51       // load the hightMap here.
     57      // nor .obj nor .bmp
    5258    }
    5359}
Note: See TracChangeset for help on using the changeset viewer.