Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3993 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Apr 27, 2005, 12:12:28 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: patch to use relative coordinates again, some smaller changes in the preLoading/loading mechanisms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3986 r3993  
    201201  wi->init(this);
    202202  this->garbageCollector = GarbageCollector::getInstance();
     203  this->trackManager = TrackManager::getInstance();
     204  this->lightMan = LightManager::getInstance();
     205  this->nullParent = NullParent::getInstance ();
     206  this->nullParent->setName ("NullParent");
     207
    203208}
    204209
     
    215220      this->glmis->step();
    216221      // initializing the TrackManager
    217       trackManager = TrackManager::getInstance();
     222
    218223      //trackManager->addPoint(Vector(0,0,0));
    219224      trackManager->addPoint(Vector(150, -35, 5));
     
    277282
    278283      // LIGHT initialisation
    279       lightMan = LightManager::getInstance();
     284
    280285      lightMan->setAmbientColor(.1,.1,.1);
    281286      lightMan->addLight();
     
    298303          {
    299304            lightMan->setPosition(-5.0, 10.0, -40.0);
    300             this->nullParent = NullParent::getInstance ();
    301             this->nullParent->setName ("NullParent");
    302305
    303306            // !\todo old track-system has to be removed
Note: See TracChangeset for help on using the changeset viewer.