Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4738 in orxonox.OLD for orxonox/trunk/src/lib/graphics/light.h


Ignore:
Timestamp:
Jun 30, 2005, 1:29:59 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cleanup, renice, and other stuff (doxygen-tags, loadparam)

File:
1 edited

Legend:

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

    r4737 r4738  
    6969   \li new Light();
    7070
     71   if you want to operate on this Light just apply the following functions onto it.
     72       (You can also optain the Light-pointer with LightManager::getInstance()->getLight(lightNumber))
     73
    7174   now you can operate on the light as follows:
    7275   \li void setDiffuseColor(GLfloat r, GLfloat g, GLfloat b);
     
    7881
    7982   To redraw the light use
    80    \li void draw() const;
    81 
    82    and to delete one just use
    83    \li void deleteLight(void);
     83   \li void draw() const; (this is automatically done by the LightManager)
    8484
    8585   for some nice output just use:
    86    \li void debug(void) const;
    87 
    88    You can also operate on the single Lights themselves, by first retreaving them with
    89    \li Light* getLight(int LightNumber) const;
    90    \n
    91    and then using the same functions on this to change settings.
     86   \li void debug(void) const; (either on LightManager for a resume or on any Light for single information.)
    9287*/
    9388class LightManager : public BaseObject
Note: See TracChangeset for help on using the changeset viewer.