Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3600 in orxonox.OLD for orxonox/trunk/src/light.cc


Ignore:
Timestamp:
Mar 18, 2005, 1:02:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: nice doxygen-information about the LightManager

File:
1 edited

Legend:

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

    r3599 r3600  
    155155   \returns the Position of the Light
    156156*/
    157 Vector Light::getPosition()
     157Vector Light::getPosition() const
    158158{
    159159  return Vector(this->lightPosition[0], this->lightPosition[1], this->lightPosition[2]);
     
    172172   \brief Prints out some nice formated debug information about the Light
    173173*/
    174 void Light::debug(void)
     174void Light::debug(void) const
    175175{
    176176  PRINT(0)(":: %d ::  -- reference %p\n", this->lightNumber, this);
     
    461461   \returns the Position of the Light
    462462*/
    463 Vector LightManager::getPosition(void)
     463Vector LightManager::getPosition(void) const
    464464{
    465465  if (!this->currentLight)
     
    476476   \param lightNumber lightnumber
    477477*/
    478 Vector LightManager::getPosition(int lightNumber)
     478Vector LightManager::getPosition(int lightNumber) const
    479479{
    480480  if (!this->lights[lightNumber])
     
    487487}
    488488
     489/**
     490   \returns a pointer to a Light
     491   \param lightNumber The light to request the pointer from
     492*/
     493Light* LightManager::getLight(int lightNumber) const
     494{
     495  return this->lights[lightNumber];
     496}
    489497
    490498/**
    491499   \brief outputs debug information about the Class and its lights
    492500*/
    493 void LightManager::debug(void)
     501void LightManager::debug(void) const
    494502{
    495503  PRINT(0)("=================================\n");
Note: See TracChangeset for help on using the changeset viewer.