Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3588 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Mar 17, 2005, 2:47:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: name-fix for TrackManager and minor fix in Curve.
There has also been a little fix in the light-class: light is a BaseObject not a World-Entity

File:
1 edited

Legend:

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

    r3587 r3588  
    7171  delete this->nullParent;
    7272  delete this->entities;
    73 
     73  delete this->light;
    7474  delete this->trackManager;
    7575}
     
    296296  // LIGHT initialisation
    297297  light = Light::getInstance();
    298   light->addLight(0);
     298  light->setAmbientColor(.1,.1,.1);
     299  light->addLight();
    299300  light->setAttenuation(QUADRATIC, 1.0);
    300301  light->setAttenuation(CONSTANT, 2.0);
Note: See TracChangeset for help on using the changeset viewer.