Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 30, 2005, 4:05:23 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: factory is now registered in Factory, not in Gameloader

File:
1 edited

Legend:

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

    r4653 r4739  
    5050  LightManager* lightMan = LightManager::getInstance();
    5151  lightMan->setAmbientColor(.1,.1,.1);
    52   lightMan->addLight();
    53   //  lightMan->setAttenuation(1.0, .01, 0.0);
    54   //  lightMan->setDiffuseColor(1,1,1);
    55   //  lightMan->addLight(1);
    56   //  lightMan->setPosition(20, 10, -20);
    57   //  lightMan->setDiffuseColor(0,0,0);
    58   //  lightMan->debug();
    59   lightMan->setPosition(5.0, 10.0, 40.0);
    60   lightMan->addLight();
    61   lightMan->setPosition(-10, -20, -100);
     52  new Light();
     53
     54  lightMan->getLight()->setAbsCoor(5.0, 10.0, 40.0);
     55  new Light();
     56  lightMan->getLight()->setAbsCoor(-10, -20, -100);
    6257}
    6358
Note: See TracChangeset for help on using the changeset viewer.