Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3442 in orxonox.OLD for orxonox/trunk/src/world.cc


Ignore:
Timestamp:
Mar 1, 2005, 10:04:01 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: light: added debug-method.
There is something strange about adding multiple lights. I have to read about this some more.

File:
1 edited

Legend:

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

    r3441 r3442  
    172172void World::load()
    173173{
     174  // LIGHT initialisation
    174175  light = Light::getInstance();
    175176  light->addLight(0);
    176177  light->setAttenuation(QUADRATIC, 1.0);
    177   light->setPosition(10.0, 100.0, 19.0);
     178  light->setPosition(20.0, 10.0, 20.0);
     179  light->setDiffuseColor(1,1,1);
     180  //  light->addLight(1);
     181  //  light->setPosition(20, 10, -20);
     182  //  light->setDiffuseColor(0,0,0);
     183  light->debug();
    178184
    179185  //  BezierCurve* tmpCurve = new BezierCurve();
Note: See TracChangeset for help on using the changeset viewer.