Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4320 in orxonox.OLD for orxonox/trunk/src/lib/graphics/light.cc


Ignore:
Timestamp:
May 27, 2005, 1:13:42 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now string name of a class works parallel to the int id representation and is only used for documentation purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/light.cc

    r4318 r4320  
    3434Light::Light(int lightNumber)
    3535{
    36   this->setClassID(CL_LIGHT);
     36  this->setClassID(CL_LIGHT, "Light");
    3737  char tmpName[7];
    3838  sprintf(tmpName, "Light%d", lightNumber);
     
    205205LightManager::LightManager ()
    206206{
    207   this->setClassID(CL_LIGHT_MANAGER);
     207  this->setClassID(CL_LIGHT_MANAGER, "LightManager");
    208208
    209209  glEnable (GL_LIGHTING);
Note: See TracChangeset for help on using the changeset viewer.