Changeset 3993 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 27, 2005, 12:12:28 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3986 r3993 201 201 wi->init(this); 202 202 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 203 208 } 204 209 … … 215 220 this->glmis->step(); 216 221 // initializing the TrackManager 217 trackManager = TrackManager::getInstance(); 222 218 223 //trackManager->addPoint(Vector(0,0,0)); 219 224 trackManager->addPoint(Vector(150, -35, 5)); … … 277 282 278 283 // LIGHT initialisation 279 lightMan = LightManager::getInstance(); 284 280 285 lightMan->setAmbientColor(.1,.1,.1); 281 286 lightMan->addLight(); … … 298 303 { 299 304 lightMan->setPosition(-5.0, 10.0, -40.0); 300 this->nullParent = NullParent::getInstance ();301 this->nullParent->setName ("NullParent");302 305 303 306 // !\todo old track-system has to be removed
Note: See TracChangeset
for help on using the changeset viewer.