Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 7, 2005, 3:54:49 PM (19 years ago)
Author:
chris
Message:

orxonox/branches/levelloader: Merged trunk into branch… still not working though…

File:
1 edited

Legend:

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

    r3605 r3746  
    1616
    1717#include "terrain.h"
    18 
     18#include "stdincl.h"
     19#include "model.h"
     20#include "vector.h"
    1921#include "glincl.h"
    2022
     
    4345  if (strstr(fileName, ".obj") || strstr(fileName, ".OBJ"))
    4446    {
    45       this->model = (OBJModel*)new OBJModel(fileName);
     47      this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_LEVEL);
    4648    }
    4749  else
Note: See TracChangeset for help on using the changeset viewer.