Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 8:37:29 PM (14 years ago)
Author:
landauf
Message:

fixed lots of Doxygen warnings

Note: Doxygen prints a warning if only a part of the parameters of a function are documented.

Added documentation for missing parameters (as good as I could), removed documentation of obsolete parameters and fixed names of renamed parameters.
Some parameters are tagged with "FIXME", please replace this with an appropriate documentation if you know what it does.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/orxonox/graphics/Light.h

    r7163 r7297  
    8383            /**
    8484                @brief Sets the attenuation parameters of the light source i.e. how it diminishes with distance.
     85                @param attenuation The parameters of the attenuation (see description)
    8586
    86                 @param attenuation.x range (The absolute upper range of the light in world units)
    87                 @param attenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation)
    88                 @param attenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance)
    89                 @param attenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula)
     87                 - @a attenuation.x range (The absolute upper range of the light in world units)
     88                 - @a attenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation)
     89                 - @a attenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance)
     90                 - @a attenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula)
    9091
    9192                Quote from the Ogre API:
     
    120121            /**
    121122                @brief Sets the range of a spotlight, i.e. the angle of the inner and outer cones and the rate of falloff between them.
    122 
    123                 @param spotlightRange.x innerAngle (The angle covered by the bright inner cone)
    124                 @param spotlightRange.x outerAngle (The angle covered by the outer cone)
    125                 @param spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.)
     123                @param spotlightRange The parameters of the spotlight (see description)
     124               
     125                 - @a spotlightRange.x innerAngle (The angle covered by the bright inner cone)
     126                 - @a spotlightRange.x outerAngle (The angle covered by the outer cone)
     127                 - @a spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.)
    126128            */
    127129            inline void setSpotlightRange(const Vector3& spotlightRange)
Note: See TracChangeset for help on using the changeset viewer.