Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4741 in orxonox.OLD for orxonox/trunk/src/subprojects


Ignore:
Timestamp:
Jun 30, 2005, 4:19:28 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: all subprojects working again

Location:
orxonox/trunk/src/subprojects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4721 r4741  
    9494  LightManager* lightMan = LightManager::getInstance();
    9595  lightMan->setAmbientColor(.1,.1,.1);
    96   lightMan->addLight();
    97   lightMan->setPosition(-5.0, 50.0, -40.0);
    98   lightMan->addLight();
    99   lightMan->setPosition(100, 80, 60);
     96  (new Light())->setAbsCoor(-5.0, 50.0, -40.0);
     97  (new Light())->setAbsCoor(100, 80, 60);
    10098
    10199
  • orxonox/trunk/src/subprojects/importer/importer.cc

    r4739 r4741  
    5050  LightManager* lightMan = LightManager::getInstance();
    5151  lightMan->setAmbientColor(.1,.1,.1);
    52   new Light();
    53 
    54   lightMan->getLight()->setAbsCoor(5.0, 10.0, 40.0);
    55   new Light();
    56   lightMan->getLight()->setAbsCoor(-10, -20, -100);
     52  (new Light())->setAbsCoor(5.0, 10.0, 40.0);
     53  (new Light())->setAbsCoor(-10, -20, -100);
    5754}
    5855
  • orxonox/trunk/src/subprojects/particles/particle_fun.cc

    r4740 r4741  
    8989  new PhysicsConnection(system, pointGravity);
    9090
    91   new Light;
    92   LightManager::getInstance()->getLight()->setAbsCoor(10, 10, 10);
     91  (new Light)->setAbsCoor(10, 10, 10);
    9392
    9493}
Note: See TracChangeset for help on using the changeset viewer.